# engine-comp-crud-errors

> Errors for the CRUD modules.

Latest version **1.0.0** (published 2015-12-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install engine-comp-crud-errors
pnpm add engine-comp-crud-errors
yarn add engine-comp-crud-errors
bun add engine-comp-crud-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.0 |
| Published | 2015-12-02 |
| First published | 2015-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jillix |
| Maintainers | ionicabizau |
| Keywords | jillix, composition, engine, errors |

## Links

- npm: https://www.npmjs.com/package/engine-comp-crud-errors
- Repository: https://github.com/jillix/engine-comp-errors
- Homepage: https://github.com/jillix/engine-comp-errors#readme
- Issues: https://github.com/jillix/engine-comp-errors/issues
- npm.io page: https://npm.io/package/engine-comp-crud-errors

## Dependencies (1)

- [err](https://npm.io/package/err.md) ^1.0.0

## 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

- 1.0.0 (latest) — 2015-12-02

## README

# engine-comp-crud-errors

Errors for the CRUD modules.

## Installation

```sh
$ npm i --save engine-comp-crud-errors
```

## Example

```js
const errors = require("engine-comp-crud-errors");

console.log(errors.INSTANCE_EXISTS_ALREADY("layout"));
// => {
//  [Error: The layout instance exists already.]
//  code: 'INSTANCE_EXISTS_ALREADY',
//  instance_name: 'layout'
// }

console.log(errors.INSTANCE_DOES_NOT_EXIST("layout"));
// => {
//  [Error: The layout instance does not exist.]
//  code: 'INSTANCE_DOES_NOT_EXIST',
//  instance_name: 'layout'
// }
```

## Documentation

### `INSTANCE_EXISTS_ALREADY(name)`

#### Params
- **String** `name`: The instance name.

#### Return
- **Error** The error object.

### `INSTANCE_DOES_NOT_EXIST(name)`

#### Params
- **String** `name`: The instance name.

#### Return
- **Error** The error object.

## How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].

## Where is this library used?
If you are using this library in one of your projects, add it in this list. :sparkles:

## License

[MIT][license] © [jillix][website]

[license]: http://showalicense.com/?fullname=jillix%20%3Ccontact%40jillix.com%3E%20(http%3A%2F%2Fjillix.com)&year=2015#license-mit
[website]: http://jillix.com
[contributing]: /CONTRIBUTING.md
[docs]: /DOCUMENTATION.md

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