コンテンツにスキップ
日本語

ExceptionHandler

このコンテンツはまだ日本語訳がありません。

ExceptionHandler = (err, request) => Promise<HttpResponse | null | undefined> | HttpResponse | null | undefined

Defined in: src/http/Route.ts:145

Handler for handleErrors. Receives the thrown value (an HttpError or anything else) plus the request; return an HttpResponse to handle it, or null/undefined to decline — declining re-throws so an outer handleErrors (or, failing that, the backend’s default mapping) takes over.

unknown

HttpRequest

Promise<HttpResponse | null | undefined> | HttpResponse | null | undefined