Home / Function/ err() — fastify Function Reference

err() — fastify Function Reference

Architecture documentation for the err() function in hooks.d.ts from the fastify codebase.

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

types/hooks.d.ts lines 17–17

type HookHandlerDoneFunction = <TError extends Error = FastifyError>(err?: TError) => void

Domain

Subdomains

Defined In

Frequently Asked Questions

What does err() do?
err() is a function in the fastify codebase, defined in types/hooks.d.ts.
Where is err() defined?
err() is defined in types/hooks.d.ts at line 17.

Analyze Your Own Codebase

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

Try Supermodel Free