# @rheactorjs/errors

> A collection of errors

Latest version **1.0.2** (published 2017-12-03) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-12-03 |
| First published | 2017-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.10.2 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Resourceful Humans GmbH |
| Maintainers | coderbyheart |

## Links

- npm: https://www.npmjs.com/package/@rheactorjs/errors
- Repository: https://github.com/RHeactorJS/errors
- Homepage: https://github.com/RHeactorJS/errors#readme
- Issues: https://github.com/RHeactorJS/errors/issues
- npm.io page: https://npm.io/package/@rheactorjs/errors

## Dependencies (1)

- [tcomb](https://npm.io/package/tcomb.md) ^3.2.24

## Recent versions

- 1.0.2 (latest) — 2017-12-03
- 1.0.1 — 2017-10-03
- 1.0.0 — 2017-06-26

## README

# errors

[![npm version](https://img.shields.io/npm/v/@rheactorjs/errors.svg)](https://www.npmjs.com/package/@rheactorjs/errors)
[![Build Status](https://travis-ci.org/RHeactorJS/errors.svg?branch=master)](https://travis-ci.org/RHeactorJS/errors)
[![Greenkeeper badge](https://badges.greenkeeper.io/RHeactorJS/errors.svg)](https://greenkeeper.io/) 
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![semantic-release](https://img.shields.io/badge/semver-semantic%20release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Test Coverage](https://codeclimate.com/github/RHeactorJS/errors/badges/coverage.svg)](https://codeclimate.com/github/RHeactorJS/errors/coverage)
[![Code Climate](https://codeclimate.com/github/RHeactorJS/errors/badges/gpa.svg)](https://codeclimate.com/github/RHeactorJS/errors)

A collection of errors

Note that Babel [does not support extending builtin classes](https://github.com/babel/babel/commit/3878bd812c73bdd18b1011be59515dad985940fd), so we use [this way](http://stackoverflow.com/a/35858868) to create the error objects:
  
```javascript
class MyError {
  constructor(message) {
    this.name = MyError.name
    this.message = message
    this.stack = (new Error(message)).stack
  }
}
MyError.prototype = Object.create(Error.prototype)
```

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