Comparing version 0.1.9 to 0.1.10
{ | ||
"name": "cf-errors", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Extensible error library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -51,2 +51,3 @@ cf-errors | ||
<a name="cause" /> | ||
##Extending with a previous error | ||
@@ -61,2 +62,3 @@ ```javascript | ||
<a name="stack" /> | ||
##Printing the stack | ||
@@ -69,2 +71,3 @@ will print the stack of all previous errors too | ||
<a name="toString" /> | ||
##toString() | ||
@@ -80,2 +83,3 @@ Will print the whole chain of errors in a nice way. </br> | ||
<a name="predefined" /> | ||
##Predefined Error Types | ||
@@ -111,2 +115,3 @@ ```javascript | ||
<a name="inherit" /> | ||
##Inheriting the previous error type | ||
@@ -130,2 +135,3 @@ Creating an error with the same name as its cause can be achieved using 'Inherit' as the error name. | ||
<a name="getfirstvalue" /> | ||
##Getting the value of the first occurrence of a field in the chain | ||
@@ -143,4 +149,5 @@ Sometimes you will populate an error with a field and wrap it with an additional error. In order to get the value of the field you will need to recursively go over the whole chain. </br> | ||
<a name="tests" /> | ||
##Running the tests | ||
'npm test' or 'gulp unit_test' | ||
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
33671
147