# @dotcom-reliability-kit/serialize-error

> A utility function to serialize an error object in a way that's friendly to loggers, view engines, and converting to JSON

Latest version **5.0.1** (published 2026-07-14) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install @dotcom-reliability-kit/serialize-error
pnpm add @dotcom-reliability-kit/serialize-error
yarn add @dotcom-reliability-kit/serialize-error
bun add @dotcom-reliability-kit/serialize-error
```

## Facts

| | |
|---|---|
| Version | 5.0.1 |
| Published | 2026-07-14 |
| First published | 2022-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Dependencies | 0 |
| Maintainers | hamza.samih, rowanmanning, the-ft, robertboulton, leila.micollier |

## Links

- npm: https://www.npmjs.com/package/@dotcom-reliability-kit/serialize-error
- Repository: https://github.com/Financial-Times/dotcom-reliability-kit
- Homepage: https://github.com/Financial-Times/dotcom-reliability-kit/tree/main/packages/serialize-error#readme
- npm.io page: https://npm.io/package/@dotcom-reliability-kit/serialize-error

---
_Source: https://npm.io/package/@dotcom-reliability-kit/serialize-error · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
