Home / Function/ err() — fastify Function Reference

err() — fastify Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7afd76da_82fe_249d_50bd_4e0aa4ac354b["err()"]
  08af481b_2f35_3710_fb1d_f29fa2ef8473["logger.d.ts"]
  7afd76da_82fe_249d_50bd_4e0aa4ac354b -->|defined in| 08af481b_2f35_3710_fb1d_f29fa2ef8473
  style 7afd76da_82fe_249d_50bd_4e0aa4ac354b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/logger.d.ts lines 68–73

    err?: (err: FastifyError) => {
      type: string;
      message: string;
      stack: string;
      [key: string]: unknown;
    };

Domain

Subdomains

Defined In

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free