2.28.2 • Published 7 years ago

@egalabs/exception v2.28.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 years ago

eJSception

Sintatic sugar exceptions for Node.js.

npm-badge-src

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.

NameBadgeService typeFileWebsite
Travis CItravis-badge-srcContinous IntegrationViewView
Werckerwercker-badge-srcContinous IntegrationViewView
AppVeyorappveyor-badge-srcContinous IntegrationViewView
Codeshipcodeship-badge-srcContinous IntegrationViewView
CircleCIcircleci-badge-srcContinous IntegrationViewView
Shippableshippable-badge-srcContinous IntegrationViewView
Coverallscoveralls-badge-srcCode CoverageViewView
Scrutinizerscrutinizer1-badge-srcCode CoverageViewView
Scrutinizerscrutinizer2-badge-srcCode QualityViewView
Scrutinizerscrutinizer3-badge-srcContinous IntegrationViewView
Codecovcodecov-badge-srcCode CoverageViewView
GitHub Downloadsgithubdownloads-badge-srcDownloadsNoneView
NPM Downloadsnpmdownloads1-badge-srcDownloadsNoneView
NPM Downloadsnpmdownloads2-badge-srcDownloadsNoneView
NPM Versionnpmsemver-badge-srcVersionNoneView
GitHub Tagsgithubtag-badge-srcVersionNoneView
GitHub Releasesgithubrelease-badge-srcVersionNoneView
GitHub Commitsgithubcommits-badge-srcVersionNoneView
GitHub Forksgithubforks-badge-srcSocialNoneView
GitHub Starsgithubstars-badge-srcSocialNoneView
GitHub Watchersgithubwatchers-badge-srcSocialNoneView
GitHub Followersgithubfollowers-badge-srcSocialNoneView
Twitter Followerstwitterfollowers-badge-srcSocialNoneView
Beerpaybeerpay-badge-srcMiscellaneousNoneView
Beerpaymakewish-badge-srcMiscellaneousNoneView
Code Climatecodeclimate1-badge-srcMiscellaneousNoneView
Code Climatecodeclimate2-badge-srcMiscellaneousNoneView
Code Climatecodeclimate3-badge-srcMiscellaneousNoneView
bitHoundbithound1-badge-srcMiscellaneousNoneView
VersionEyeversioneye-badge-srcMiscellaneousNoneView
NPM Licensenpmlicense-badge-srcMiscellaneousNoneView
GitHub Issuesgithubissues-badge-srcMiscellaneousNoneView
GitHub Closed Issuesgithubclosedissues-badge-srcMiscellaneousNoneView
GitHub Pull Requestsgithubpulls-badge-srcMiscellaneousNoneView
GitHub Closed Pull Requestsgithubclosedpulls-badge-srcMiscellaneousNoneView
GitHub Contributorsgithubcontributors-badge-srcMiscellaneousNoneView
GitHub Licensegithublicense-badge-srcMiscellaneousNoneView
Codacy Qualitycodacy1-badge-srcMiscellaneousNoneView
Codacy Coveragecodacy2-badge-srcMiscellaneousNoneView
Libscorelibscore-badge-srcMiscellaneousNoneView
Gittergitter-badge-srcMiscellaneousNoneView
Daviddavid1-badge-srcLonger MiscellaneousNoneView
Daviddavid2-badge-srcLonger MiscellaneousNoneView
Daviddavid3-badge-srcLonger MiscellaneousNoneView
Daviddavid4-badge-srcLonger MiscellaneousNoneView
bitHoundbithound2-badge-srcLonger MiscellaneousNoneView
bitHoundbithound3-badge-srcLonger MiscellaneousNoneView
StackExchangestackexchange-badge-srcLonger MiscellaneousNoneView
StackOverflowstackoverflow-badge-srcLonger MiscellaneousNoneView
GitHub Statsgithubstats1-badge-srcLonger MiscellaneousNoneView
GitHub Statsgithubstats2-badge-srcLonger MiscellaneousNoneView
Libraries.iolibrariesio-badge-srcLonger MiscellaneousNoneView
Snyksnyk-badge-srcSecurityNoneView

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.

2.28.2

7 years ago

2.28.1

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.10

7 years ago

2.1.9

7 years ago

2.1.8

7 years ago