Home / Type/ onErrorMetaHookHandler Type — fastify Architecture

onErrorMetaHookHandler Type — fastify Architecture

Architecture documentation for the onErrorMetaHookHandler type/interface in hooks.d.ts from the fastify codebase.

Entity Profile

Dependency Diagram

graph TD
  c0fc19c7_dcb6_05b7_8cf1_83637ee45899["onErrorMetaHookHandler"]
  f0d1ac66_cb60_3d2a_ebcc_1faa11c21aad["hooks.d.ts"]
  c0fc19c7_dcb6_05b7_8cf1_83637ee45899 -->|defined in| f0d1ac66_cb60_3d2a_ebcc_1faa11c21aad
  style c0fc19c7_dcb6_05b7_8cf1_83637ee45899 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/hooks.d.ts lines 545–560

export type onErrorMetaHookHandler<
  RawServer extends RawServerBase = RawServerDefault,
  RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>,
  RawReply extends RawReplyDefaultExpression<RawServer> = RawReplyDefaultExpression<RawServer>,
  RouteGeneric extends RouteGenericInterface = RouteGenericInterface,
  ContextConfig = ContextConfigDefault,
  TError extends Error = FastifyError,
  SchemaCompiler extends FastifySchema = FastifySchema,
  TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault,
  Logger extends FastifyBaseLogger = FastifyBaseLogger,
  Return extends ReturnType<onErrorHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, TError, SchemaCompiler, TypeProvider, Logger>>
  | ReturnType<onErrorAsyncHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, TError, SchemaCompiler, TypeProvider, Logger>>
  = ReturnType<onErrorHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, TError, SchemaCompiler, TypeProvider, Logger>>
> = Return extends ReturnType<onErrorHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, TError, SchemaCompiler, TypeProvider, Logger>>
  ? onErrorHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, TError, SchemaCompiler, TypeProvider, Logger>
  : onErrorAsyncHookHandler<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, TError, SchemaCompiler, TypeProvider, Logger>

Defined In

Frequently Asked Questions

What is the onErrorMetaHookHandler type?
onErrorMetaHookHandler is a type/interface in the fastify codebase, defined in types/hooks.d.ts.
Where is onErrorMetaHookHandler defined?
onErrorMetaHookHandler is defined in types/hooks.d.ts at line 545.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free