onError property
Reports unexpected module setup, request execution, and response stream failures.
ServerRequest.body may already be consumed when this callback runs; use request metadata for correlation rather than reading the body again.
During request dispatch, controlled results such as Redirect, NotFound, HttpError, payload limits, and normal cancellation are not reported. Typed frame overflows are never reported. Other response stream failures are unexpected. Reporter failures fall back to the default Zone logger and never replace the original outcome. A returned future joins the invocation lifetime without delaying the response.
Implementation
final ServerErrorHandler onError;