@fastify/error

A small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins.

@fastify/error@4.2.1 was published on 2026-10-10. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All @fastify/error versions · Permanent reference to 4.2.1

Package specifications

Version4.2.1
License declarationMIT
Published2026-10-10T10:14:04.615Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size39.14 KiB
Published file count18
Package typecommonjs
ES module entryNot declared
Default entryindex.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars135
Repository forks24

Install @fastify/error 4.2.1

npm install @fastify/error@4.2.1
pnpm add @fastify/error@4.2.1
yarn add @fastify/error@4.2.1

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Maintained5/10 — 6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
    Code-Review3/10 — Found 7/21 approved changesets -- score normalized to 3
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Binary-Artifacts10/10 — no binaries found in the repo
    Pinned-Dependencies10/10 — all dependencies are pinned
    Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    Security-Policy10/10 — security policy file detected
    SAST5/10 — SAST tool is not run on all commits -- score normalized to 5

    Evidence and freshness