core-error-predicates
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -36,2 +36,3 @@ var errors = []; | ||
addError("BindError", "EADDRNOTAVAIL"); | ||
addError("AddressNotFoundError", "ENOTFOUND"); | ||
addError("NetworkError", "EADDRINFO", "EADDRNOTAVAIL", "EAFNOSUPPORT", | ||
@@ -44,3 +45,3 @@ "EALREADY", "ECONNABORTED", "ECONNREFUSED", | ||
"ETIMEDOUT", "EAIFAMNOSUPPORT", "EAISERVICE", | ||
"EAISOCKTYPE", "ESHUTDOWN"); | ||
"EAISOCKTYPE", "ESHUTDOWN", "ENOTFOUND"); | ||
@@ -47,0 +48,0 @@ errors.push({ |
{ | ||
"name": "core-error-predicates", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Error predicate functions for operational errors thrown by node core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,2 +43,3 @@ #Installation | ||
- [`BindError`](#binderror) | ||
- [`AddressNotFoundError`](#addressnotfounderror) | ||
- [`NetworkError`](#networkerror) | ||
@@ -134,2 +135,8 @@ - [`SSLError`](#sslerror) | ||
#####`AddressNotFoundError` | ||
When the error's code matches one of: | ||
- `ENOTFOUND` | ||
#####`NetworkError` | ||
@@ -165,2 +172,3 @@ | ||
- `ESHUTDOWN` | ||
- `ENOTFOUND` | ||
@@ -167,0 +175,0 @@ #####`SSLError` |
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
9044
67
199