@egalabs/exception v2.28.2
eJSception
Sintatic sugar exceptions for Node.js.
Synopsis
This module aims to solve the inconsistency that JavaScript has in the world of try-catching exceptions by providing a set of self-explained, sintatic-sugar and easy to use Exceptions
. The hierarchy is based on the java.lang.Throwable
hierarchy tree.
Installation
The project is automatically deployed to the npm registry after the project has passed all the Jasmine spec tests (view) and the code has passed the code coverage threshold using the Travis CI worker. To install this module as a dependency grab your favorite terminal/shell and run the following commands.
$ npm install --save ejsception
If you use this module multiple times (and obviously the same version everywhere) I recommend you to install it globally and link it.
$ npm install -g ejsception
$ npm link ejsception
Since 22th March of 2017, you can create your NPM organization for 0$/month (you have to pay for private packages). This means you can have your own scope/namespace for your packages without having to worry about conflicting names (unless you use the same package name in the same scope). So now its possible to install this package with a normal name using the @egalabs
scope as shown below.
$ npm install --save @egalabs/exception
Or link it (if the same premises apply).
$ npm install -g @egalabs/exception
$ npm link @egalabs/exception
Examples
TODO
API reference
Visit the node-ejsception GitHub Page for more information.
Badges
This project is so simple that can be used as template to learn how to structure npm packages and how to use GitHub integrations. Here you can see a list of all the services integrated with this project.
Name | Badge | Service type | File | Website |
---|---|---|---|---|
Travis CI | Continous Integration | View | View | |
Wercker | Continous Integration | View | View | |
AppVeyor | Continous Integration | View | View | |
Codeship | Continous Integration | View | View | |
CircleCI | Continous Integration | View | View | |
Shippable | Continous Integration | View | View | |
Coveralls | Code Coverage | View | View | |
Scrutinizer | Code Coverage | View | View | |
Scrutinizer | Code Quality | View | View | |
Scrutinizer | Continous Integration | View | View | |
Codecov | Code Coverage | View | View | |
GitHub Downloads | Downloads | None | View | |
NPM Downloads | Downloads | None | View | |
NPM Downloads | Downloads | None | View | |
NPM Version | Version | None | View | |
GitHub Tags | Version | None | View | |
GitHub Releases | Version | None | View | |
GitHub Commits | Version | None | View | |
GitHub Forks | Social | None | View | |
GitHub Stars | Social | None | View | |
GitHub Watchers | Social | None | View | |
GitHub Followers | Social | None | View | |
Twitter Followers | Social | None | View | |
Beerpay | Miscellaneous | None | View | |
Beerpay | Miscellaneous | None | View | |
Code Climate | Miscellaneous | None | View | |
Code Climate | Miscellaneous | None | View | |
Code Climate | Miscellaneous | None | View | |
bitHound | Miscellaneous | None | View | |
VersionEye | Miscellaneous | None | View | |
NPM License | Miscellaneous | None | View | |
GitHub Issues | Miscellaneous | None | View | |
GitHub Closed Issues | Miscellaneous | None | View | |
GitHub Pull Requests | Miscellaneous | None | View | |
GitHub Closed Pull Requests | Miscellaneous | None | View | |
GitHub Contributors | Miscellaneous | None | View | |
GitHub License | Miscellaneous | None | View | |
Codacy Quality | Miscellaneous | None | View | |
Codacy Coverage | Miscellaneous | None | View | |
Libscore | Miscellaneous | None | View | |
Gitter | Miscellaneous | None | View | |
David | Longer Miscellaneous | None | View | |
David | Longer Miscellaneous | None | View | |
David | Longer Miscellaneous | None | View | |
David | Longer Miscellaneous | None | View | |
bitHound | Longer Miscellaneous | None | View | |
bitHound | Longer Miscellaneous | None | View | |
StackExchange | Longer Miscellaneous | None | View | |
StackOverflow | Longer Miscellaneous | None | View | |
GitHub Stats | Longer Miscellaneous | None | View | |
GitHub Stats | Longer Miscellaneous | None | View | |
Libraries.io | Longer Miscellaneous | None | View | |
Snyk | Security | None | View |
Invisible integrations
There are other types of integrations that are not visible at first sight. Here is a list.
- Slack
- Travis CI
- Wercker
- AppVeyor
- Codeship
- CircleCI
- Scrutinizer
- Codecov
- GitHub
- bitHound
- Code Climate
- HipChat
- Travis CI
- AppVeyor
- Codeship
- CircleCI
- Scrutinizer
- Codecov
- GitHub
- bitHound
- Code Climate
- Gitter
- AppVeyor
- Codeship
- CircleCI
- Codecov
Tests
If you want to test this project run the following commands.
# Clone the repository (optional)
git clone https://github.com/EgaLabs/node-ejsception.git
cd node-ejsception
# Install dependencies.
npm install
# Test the project.
npm test
# Cover the code (optional)
npm run cover
Contributors
The list of users that contributed to the project.
- Esaú García Sánchez-Torija (egasato)
Internet Systems Consortium license
Copyright (c) 2017, Esaú García Sánchez-Torija and EgaLabs
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.