# waterline-errors

> Standard adapter errors from Waterline

Latest version **0.10.1** (published 2014-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install waterline-errors
pnpm add waterline-errors
yarn add waterline-errors
bun add waterline-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.10.1 |
| Published | 2014-09-25 |
| First published | 2014-01-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | vanetix |
| Maintainers | balderdashy, vanetix, particlebanana |
| Keywords | waterline, sails, errors |

## Links

- npm: https://www.npmjs.com/package/waterline-errors
- Repository: git@github.com:vanetix/waterline-errors
- Homepage: https://github.com/vanetix/waterline-errors
- Issues: https://github.com/vanetix/waterline-errors/issues
- npm.io page: https://npm.io/package/waterline-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

- 0.10.1 (latest) — 2014-09-25
- 0.10.0-rc1 — 2014-02-05
- 0.9.1 — 2014-02-02
- 0.9.0 — 2014-01-11

## README

![image_squidhome@2x.png](http://i.imgur.com/RIvu9.png)

# waterline-errors [![Build Status](https://travis-ci.org/vanetix/waterline-errors.png?branch=master)](https://travis-ci.org/vanetix/waterline-errors)

A module for errors returned from waterline core, associations, and adapters. Each error module for a specific sub-system of waterline resides in `lib/modules`.

## Usage

```javascript
var Errors = require('waterline-errors');


function letsMakeAnError(options, cb) {
  var success = false;
  if (success) return cb();
  return cb(Errors.adapter.InvalidAuth);
}

```

## License (MIT)

Copyright (c) 2013-2014 Matt McFarland, Cody Stoltman & Balderdash Design Co.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

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