ExceptionRenderer<T extends Object> typedef
Renders an exception of type T into a Response, or returns null to
fall through to the next renderer. It may be asynchronous: write an audit
row, read a translation, encrypt the body.
Implementation
typedef ExceptionRenderer<T extends Object> = FutureOr<Response?> Function(
T exception,
Request request,
);