# @coolwallets/errors

> Error objects for CoolWalletS SDK

Latest version **0.0.8** (published 2020-03-20) · ISC license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2020-03-20 |
| First published | 2019-12-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 74.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | anton |
| Maintainers | antoncoding, antoncoolbitx, kunming0525 |

## Links

- npm: https://www.npmjs.com/package/@coolwallets/errors
- npm.io page: https://npm.io/package/@coolwallets/errors

## Recent versions

- 0.0.8 (latest) — 2020-03-20
- 0.0.7 — 2020-01-31
- 0.0.6 — 2020-01-05
- 0.0.5 — 2020-01-05
- 0.0.4 — 2019-12-29
- 0.0.3 — 2019-12-29
- 0.0.2 — 2019-12-29

## README

# Errors

![version](https://img.shields.io/npm/v/@coolwallets/errors)

You can import our custom errors from this npm package.

## Install

```shell
npm install coolwallets@errors
```

## Usage

```javascript
import { NotRegistered } from '@coolwallets/errors'
try {
  await wallet.createWallet(12)
} catch (error) {
  if  (error instanceof NotRegistered) {
    // popup Not Register Notification
  } else {
    throw error
  }
}
```

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