# @vechain/sdk-errors

> This module is dedicated to managing and customizing errors within the VeChain SDK

Latest version **2.1.0** (published 2026-08-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vechain/sdk-errors
pnpm add @vechain/sdk-errors
yarn add @vechain/sdk-errors
bun add @vechain/sdk-errors
```

## Health

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

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-08-24 |
| First published | 2024-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 133.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | VeChain Foundation |
| Maintainers | davide.carpini, agilulfo, victor-vechain, doublemme |
| Keywords | VeChain, error |

## Links

- npm: https://www.npmjs.com/package/@vechain/sdk-errors
- Repository: https://github.com/vechain/vechain-sdk-js
- Issues: https://github.com/vechain/vechain-sdk-js/issues
- npm.io page: https://npm.io/package/@vechain/sdk-errors

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 2.1.0 (latest) — 2026-08-24
- 1.0.0-beta.0 (beta) — 2024-03-11
- 2.0.8 — 2026-08-06
- 2.0.7 — 2025-11-20
- 2.0.6 — 2025-11-12
- 2.0.5 — 2025-09-05
- 2.0.4 — 2025-08-15
- 2.0.3 — 2025-08-07
- 2.0.2 — 2025-07-25
- 2.0.1 — 2025-07-21
- 2.0.0 — 2025-06-30
- 1.2.0 — 2025-06-05
- 1.2.0-rc.3 — 2025-05-20
- 1.2.0-rc.2 — 2025-04-29
- 1.2.0-rc.1 — 2025-04-16
- … 41 more at https://npm.io/package/@vechain/sdk-errors/versions

## README

# @vechain/sdk-errors

Welcome to the **errors package** of the VeChain SDK!

## Introduction

The VeChain SDK Error package is specifically designed to handle custom errors seamlessly integrated into the Core and Network packages. It serves as a dedicated solution for managing and communicating errors within these essential components, ensuring a streamlined and robust development experience. By leveraging VeChain SDK Error, developers can enhance error handling and reporting, contributing to the overall reliability and resilience of the Core and Network functionalities within the VeChain SDK ecosystem.

## Commands

- **Build**: Execute `yarn build` to build the package.
- **Lint**: Execute `yarn lint` to lint the package.
- **Format**: Execute `yarn format` to format the package.
- **Test:unit**: Execute `yarn test:unit` to run unit tests.
- **Test:integration**: Execute `yarn test:integration` to run integration tests.
- **Test**: Execute `yarn test` to run all tests on the package.
   - **NOTE**: Tests and Integration tests require thor-solo to be running locally. You can run and stop separately thor solo node with `yarn start-thor-solo` and `yarn stop-thor-solo` or run all tests with `yarn test:solo` which will start thor solo node, run all tests and stop thor solo at the end. Same for integration tests. You can directly run `yarn test:integration:solo` to run integration tests with thor solo.

## Usage

Explore examples of how to use this package in real-world scenarios at [vechain SDK examples](https://github.com/vechain/vechain-sdk/tree/main/docs/examples).

Feel free to leverage these resources and don't hesitate to reach out if you have any questions or need further assistance.

Happy coding with the VeChain SDK!

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