ExceptionHandler.json constructor
const
ExceptionHandler.json({
- Object? builder(
- SpryHttpException exception
Json exception handler.
builder
is used to build the response body.
Implementation
const factory ExceptionHandler.json(
{Object? Function(SpryHttpException exception)? builder}) =
_JsonExceptionHandler;