Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ladjs/mongoose-error-messages
Better error messages for Mongoose, built for Lad
https://github.com/ladjs/mongoose-error-messages
error i18n localized messages
Last synced: about 17 hours ago
JSON representation
Better error messages for Mongoose, built for Lad
- Host: GitHub
- URL: https://github.com/ladjs/mongoose-error-messages
- Owner: ladjs
- License: mit
- Created: 2019-09-03T06:05:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-10T01:16:04.000Z (almost 5 years ago)
- Last Synced: 2025-02-01T03:03:33.211Z (21 days ago)
- Topics: error, i18n, localized, messages
- Language: JavaScript
- Homepage: https://lad.js.org
- Size: 198 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [**@ladjs/mongoose-error-messages**](https://github.com/ladjs/mongoose-error-messages)
[](https://travis-ci.com/ladjs/mongoose-error-messages)
[](https://codecov.io/gh/ladjs/mongoose-error-messages)
[](https://github.com/sindresorhus/xo)
[](https://github.com/prettier/prettier)
[](https://lass.js.org)
[](LICENSE)
[](https://npm.im/@ladjs/mongoose-error-messages)> Better error messages for Mongoose
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)## Install
[npm][]:
```sh
npm install @ladjs/mongoose-error-messages
```[yarn][]:
```sh
yarn add @ladjs/mongoose-error-messages
```## Usage
```js
const mongoose = require('mongoose');
mongoose.Error.messages = require('@ladjs/mongoose-error-messages');
```## Contributors
| Name | Website |
| -------------- | ------------------------- |
| **Nick Baugh** | |## License
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com)
##
[npm]: https://www.npmjs.com/
[yarn]: https://yarnpkg.com/