Home / Type/ DoneFuncWithErrOrRes Type — fastify Architecture

DoneFuncWithErrOrRes Type — fastify Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

types/hooks.d.ts lines 254–258

interface DoneFuncWithErrOrRes {
  (): void;
  <TError extends Error = FastifyError>(err: TError): void;
  (err: null, res: unknown): void;
}

Defined In

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free