fix: Remove duplicate error reporting for endpoints (no-changelog) (#11959)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Mutasem Aldmourandकारतोफ्फेलस्क्रिप्ट™ authored and GitHub committed 2024-12-02 19:34:42 +01:00
1 parent f258cebe53
commit fb5cf4beea
14 files changed
+95 -27

No files matched your search

@@ -1,7 +1,7 @@
import { ResponseError } from './abstract/response.error';
export class InternalServerError extends ResponseError {
constructor(message: string, errorCode = 500) {
super(message, 500, errorCode);
constructor(message: string, cause?: unknown) {
super(message, 500, 500, undefined, cause);
}
}