ExceptionFilter<T extends Object>.fromHandler constructor
ExceptionFilter<T extends Object>.fromHandler (
- FutureOr<
void> handler(- Context context,
- T exception,
- StackTrace stackTrace
Creates a new ExceptionFilter from a handler
function.
Implementation
factory ExceptionFilter.fromHandler(
FutureOr<void> Function(Context context, T exception, StackTrace stackTrace)
handler,
) =>
_InternalExceptionFilter<T>(handler);