exception_filter library

Spry exception filter library.

Classes

ExceptionFilter<T>
Exception filter interface.
ExceptionSource<T>
Exception source, used for packaging Exception and Error, as well as StackTrace.

Functions

defineExceptionFilter<T>(FutureOr<Response?> process(Event event, ExceptionSource<T> source)) Future<Response> Function(Event event)
Define exception filter.
withExceptionFilter<T>(ExceptionFilter<T> filter) Future<Response> Function(Event event)
Convert ExceptionFilter to handle.