Context ctx, dynamic exception, StackTrace trace) → FutureOr
- A function that shall be called when an exception occurs when processing a route. [...]
RespType>( Context context) → FutureOr< RespType>
- Prototype for Route handler. A route handler is a function that shall be invoked when a HTTP request with matching path is received. [...]
Result>( Context ctx) → FutureOr< Result>
- Prototype of route interceptor. A router interceptor is a function that runs before or after the route handler.