Errors
Install
npm install @tryghost/errors --save
or
pnpm add @tryghost/errors
Purpose
Shared Ghost error classes and utilities for typed errors, context propagation, and safe stack formatting.
Usage
Develop
This is a mono repository, managed with Nx.
Follow the instructions for the top-level repo.
git clone this repo & cd into it as usual
- Run
pnpm install to install top-level dependencies.
Run
Test
pnpm lint runs oxlint
pnpm test runs lint and tests
Copyright & License
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.