Skip to content

Commit 2ccc076

Browse files
committed
fix exports typo
1 parent 0e455ae commit 2ccc076

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "custom-errors",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"license": "MIT",
55
"description": "custom error classes optimised for error logging",
66
"keywords": [

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
request: {
1515
BadRequest: errFactory('BadRequest', 'warning', 400),
1616
Unauthorized: errFactory('Unauthorized', 'warning', 401),
17-
.general.: errFactory('NotFound', 'warning', 404),
17+
NotFound: errFactory('NotFound', 'warning', 404),
1818
Forbidden: errFactory('Forbidden', 'warning', 403),
1919
NotAcceptable: errFactory('Not Acceptable', 'warning', 406)
2020
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "custom-errors",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"license": "MIT",
55
"description": "custom error classes optimised for error logging",
66
"tags": [

0 commit comments

Comments
 (0)