Browse Source

Add error class name

sbkwgh 8 năm trước cách đây
mục cha
commit
e905727995
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      lib/errors.js

+ 2 - 0
lib/errors.js

@@ -23,4 +23,6 @@ for(var errorName in Errors) {
 	Errors[errorName] = temp
 }
 
+Errors.VALIDATION_ERROR = 'VALIDATION_ERROR';
+
 module.exports = Errors