Major Backend Single Responsibility Update part 1
This commit is contained in:
1 parent
65177c7553
commit
cbdffb21e3
41 files changed
+1723
-888
No files matched your search
@@ -1,5 +1,9 @@
|
||||
const CustomError = require('./CustomError');
|
||||
|
||||
/**
|
||||
* Represents an error for HTTP 422 Unprocessable Entity.
|
||||
* This error indicates that the server understands the request but cannot process it due to semantic validation errors.
|
||||
*/
|
||||
class ValidationError extends CustomError {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
|
||||
Reference in new issue
Block a user