# @backstage/errors

> Common utilities for error handling within Backstage

Latest version **1.3.1** (published 2026-05-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @backstage/errors
pnpm add @backstage/errors
yarn add @backstage/errors
bun add @backstage/errors
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2026-05-19 |
| First published | 2021-03-11 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 80.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34451 |
| Maintainers | patriko, freben, marcuseide |
| Keywords | backstage |

## Links

- npm: https://www.npmjs.com/package/@backstage/errors
- Repository: https://github.com/backstage/backstage
- Homepage: https://backstage.io
- npm.io page: https://npm.io/package/@backstage/errors

## Dependencies (2)

- [serialize-error](https://npm.io/package/serialize-error.md) ^8.0.1
- [@backstage/types](https://npm.io/package/@backstage/types.md) ^1.2.2

## Recent versions

- 1.3.1 (latest) — 2026-05-19
- 0.0.0-nightly-20260923023054 (nightly) — 2026-09-23
- 1.3.2-next.0 (next) — 2026-09-22
- 0.0.0-nightly-20260922023058 — 2026-09-22
- 0.0.0-nightly-20260921023416 — 2026-09-21
- 0.0.0-nightly-20260920023043 — 2026-09-20
- 0.0.0-nightly-20260519032312 — 2026-05-19
- 0.0.0-nightly-20260518032303 — 2026-05-18
- 0.0.0-nightly-20260517032033 — 2026-05-17
- 0.0.0-nightly-20260516032040 — 2026-05-16
- 0.0.0-nightly-20260515032213 — 2026-05-15
- 0.0.0-nightly-20260514032146 — 2026-05-14
- 0.0.0-nightly-20260513032245 — 2026-05-13
- 0.0.0-nightly-20260512032235 — 2026-05-12
- 0.0.0-nightly-20260511032212 — 2026-05-11
- … 379 more at https://npm.io/package/@backstage/errors/versions

## README

# Common error handling functionality

Contains some common functionality of error handling.

This package will be imported both by the frontend and backend.

## Links

- [The Backstage homepage](https://backstage.io)

---
_Source: https://npm.io/package/@backstage/errors · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
