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