refactor: rewrite ke codebase lama
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
class ValidationError extends Error {
|
||||
constructor(message, errors) {
|
||||
super(message || 'Validation Error');
|
||||
this.errors = errors
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ValidationError;
|
||||
Reference in New Issue
Block a user