ExceptionHandler typedef
Exception/error handler function type.
Define server exception handlers or pipeline exception handlers matching this type.
The ex
is Object
because these methods are expected to handle anything
that can be thrown or raised in Dart. This includes Error
and Exception
,
but can be any type of object.
Used for Server.exceptionHandler and ServerPipeline.exceptionHandler.