Skip to content

Commit e7a209b

Browse files
committed
add capitalised Factory export
1 parent 2ccc076 commit e7a209b

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.1",
3+
"version": "1.8.0",
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
@@ -18,5 +18,5 @@ module.exports = {
1818
Forbidden: errFactory('Forbidden', 'warning', 403),
1919
NotAcceptable: errFactory('Not Acceptable', 'warning', 406)
2020
},
21-
factory: errFactory
21+
Factory: errFactory
2222
};

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.1",
3+
"version": "1.8.0",
44
"license": "MIT",
55
"description": "custom error classes optimised for error logging",
66
"tags": [

0 commit comments

Comments
 (0)