[Pkg-javascript-commits] [node-check-error] 01/08: New upstream version 1.0.2

Julien Puydt julien.puydt at laposte.net
Wed Aug 23 15:14:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-check-error.

commit 8712623f996d1120c71214bc0d8b313de5363a36
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Aug 23 17:07:49 2017 +0200

    New upstream version 1.0.2
---
 README.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index d3310d2..1fa64c3 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
 </h1>
 
 <p align=center>
-  Error comparison and information related utility for [node](http://nodejs.org) and the browser.
+  Error comparison and information related utility for <a href="http://nodejs.org">node</a> and the browser.
 </p>
 
 <p align=center>
@@ -104,13 +104,13 @@ The primary export of `check-error` is an object which has the following methods
 * `getMessage(err)` - Retrieves the message of an error or `err` itself if it's a String. If `err` or `err.message` is undefined we return an empty String.
 
 ```js
-var checkError = require('checkError');
+var checkError = require('check-error');
 ```
 
 #### .compatibleInstance(err, errorLike)
 
 ```js
-var checkError = require('checkError');
+var checkError = require('check-error');
 
 var funcThatThrows = function() { throw new TypeError('I am a TypeError') };
 var caughtErr;
@@ -130,7 +130,7 @@ checkError.compatibleInstance(caughtErr, new TypeError('Another error')); // fal
 #### .compatibleConstructor(err, errorLike)
 
 ```js
-var checkError = require('checkError');
+var checkError = require('check-error');
 
 var funcThatThrows = function() { throw new TypeError('I am a TypeError') };
 var caughtErr;
@@ -149,7 +149,7 @@ checkError.compatibleConstructor(caughtErr, RangeError); // false
 #### .compatibleMessage(err, errMatcher)
 
 ```js
-var checkError = require('checkError');
+var checkError = require('check-error');
 
 var funcThatThrows = function() { throw new TypeError('I am a TypeError') };
 var caughtErr;
@@ -171,7 +171,7 @@ checkError.compatibleMessage(caughtErr, 'I do not exist'); // false
 #### .getConstructorName(errorLike)
 
 ```js
-var checkError = require('checkError');
+var checkError = require('check-error');
 
 var funcThatThrows = function() { throw new TypeError('I am a TypeError') };
 var caughtErr;
@@ -190,7 +190,7 @@ checkError.getConstructorName(caughtErr) // 'TypeError'
 #### .getMessage(err)
 
 ```js
-var checkError = require('checkError');
+var checkError = require('check-error');
 
 var funcThatThrows = function() { throw new TypeError('I am a TypeError') };
 var caughtErr;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-check-error.git



More information about the Pkg-javascript-commits mailing list