extended-exceptions
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "extended-exceptions.js", | ||
"version": "2.0.1", | ||
"description": "Easy custom js exceptions for node & browser, AMD.", | ||
"keywords": [ | ||
"exceptions", | ||
"browser", | ||
"server" | ||
], | ||
"license": "public domain", | ||
"authors": [ "Offirmo <offirmo.net@gmail.com>" ], | ||
"homepage": "https://github.com/Offirmo/extended-exceptions.js", | ||
"main": "extended_exceptions.js", | ||
"dependencies": { | ||
} | ||
"name": "extended-exceptions.js", | ||
"version": "2.0.2", | ||
"description": "Easy custom js exceptions for node & browser, AMD.", | ||
"keywords": [ | ||
"exceptions", | ||
"browser", | ||
"server" | ||
], | ||
"license": "public domain", | ||
"authors": [ | ||
"Offirmo <offirmo.net@gmail.com>" | ||
], | ||
"homepage": "https://github.com/Offirmo/extended-exceptions.js", | ||
"main": "extended_exceptions.js", | ||
"dependencies": {} | ||
} |
@@ -12,2 +12,3 @@ /* New Errors to be thrown, | ||
* OutOfRange | ||
* InvariantNotMet | ||
* RuntimeError | ||
@@ -17,3 +18,2 @@ * NotImplemented | ||
* IllegalState | ||
* InvariantNotMet | ||
*/ | ||
@@ -76,3 +76,5 @@ | ||
function create_custom_error(name, ParentErrorClass) { | ||
if (typeof ParentErrorClass === 'undefined') ParentErrorClass = ExtendedError; | ||
if (typeof ParentErrorClass === 'undefined') { | ||
ParentErrorClass = ExtendedError; | ||
} | ||
@@ -79,0 +81,0 @@ function CustomExtendedErrorClass() { |
{ | ||
"name": "extended-exceptions", | ||
"version": "2.0.1", | ||
"description": "Easy custom js exceptions for node & browser, AMD.", | ||
"keywords": "exceptions, browser, server", | ||
"license": "public domain", | ||
"author": "Offirmo <offirmo.net@gmail.com> (http://offirmo.net)", | ||
"homepage": "https://github.com/Offirmo/extended-exceptions.js", | ||
"main": "extended_exceptions.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Offirmo/extended-exceptions.js.git" | ||
}, | ||
"dependencies": { | ||
"amdefine": "~0.1" | ||
}, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Offirmo/extended-exceptions.js/issues" | ||
}, | ||
"scripts": { | ||
"test": "npm install && cd test_runner && make" | ||
} | ||
"name": "extended-exceptions", | ||
"version": "2.0.2", | ||
"description": "Easy custom js exceptions for node & browser, AMD.", | ||
"keywords": "exceptions, browser, server", | ||
"license": "public domain", | ||
"author": "Offirmo <offirmo.net@gmail.com> (http://offirmo.net)", | ||
"homepage": "https://github.com/Offirmo/extended-exceptions.js", | ||
"main": "extended_exceptions.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Offirmo/extended-exceptions.js.git" | ||
}, | ||
"dependencies": { | ||
"amdefine": "~0.1" | ||
}, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Offirmo/extended-exceptions.js/issues" | ||
}, | ||
"scripts": { | ||
"test": "npm install && cd test_runner && make" | ||
} | ||
} |
@@ -7,6 +7,6 @@ extended-exceptions.js | ||
[![Bower version](https://badge.fury.io/bo/extended-exceptions.js.png)](http://badge.fury.io/bo/extended-exceptions.js) | ||
[![Dependency Status](https://gemnasium.com/Offirmo/extended-exceptions.js.png)](https://gemnasium.com/Offirmo/extended-exceptions.js) | ||
[![Project status](http://img.shields.io/badge/project_status-stable_and_active-brightgreen.png)](http://offirmo.net/classifying-open-source-projects-status/) | ||
[![license](http://img.shields.io/badge/license-public_domain-brightgreen.png)](http://unlicense.org/) | ||
[![graph status](https://sourcegraph.com/api/repos/github.com/Offirmo/extended-exceptions.js/badges/status.png)] | ||
(https://sourcegraph.com/github.com/Offirmo/extended-exceptions.js) | ||
[![graph status](https://sourcegraph.com/api/repos/github.com/Offirmo/extended-exceptions.js/badges/status.png)](https://sourcegraph.com/github.com/Offirmo/extended-exceptions.js) | ||
[![Code Climate](https://codeclimate.com/github/Offirmo/extended-exceptions.js.png)](https://codeclimate.com/github/Offirmo/extended-exceptions.js) | ||
@@ -13,0 +13,0 @@ [![Total views](https://sourcegraph.com/api/repos/github.com/Offirmo/extended-exceptions.js/counters/views.png)](https://sourcegraph.com/github.com/Offirmo/extended-exceptions.js) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21081
309