Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yorkie/errno-extend
Error extension for ECMAScript
https://github.com/yorkie/errno-extend
Last synced: 5 days ago
JSON representation
Error extension for ECMAScript
- Host: GitHub
- URL: https://github.com/yorkie/errno-extend
- Owner: yorkie
- Created: 2014-05-04T11:28:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-06T07:00:34.000Z (over 10 years ago)
- Last Synced: 2024-10-19T19:29:11.894Z (24 days ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
errno-extend
================
Error extension for v8### Installation
```sh
$ npm install errno-extent
```### API
* `ArgumentsError()`: An error that occurred by wrong arguments of a caller.
* `AvoidAcessError()`: An error that user-land access the unaccessable callee.
* `UnknowMethodError(name)`: Commonly used in HTTP handler.
* `NotFoundError(name)`: Not found for `name` specified.
* `RequiredError(name)`: Requirements missed error, name might be array or object, sure could be a string.
NB: TO BE COUTINUE... :)
### License
MIT