forked from FoundKeyGang/FoundKey
backend: fix ApiError lints
This commit is contained in:
parent
78fd2ee38b
commit
26449d4944
1 changed files with 2 additions and 2 deletions
|
@ -9,14 +9,14 @@ export class ApiError extends Error {
|
|||
public info?: any;
|
||||
|
||||
constructor(
|
||||
e?: E | null | undefined = {
|
||||
e: E = {
|
||||
message: 'Internal error occurred. Please contact us if the error persists.',
|
||||
code: 'INTERNAL_ERROR',
|
||||
id: '5d37dbcb-891e-41ca-a3d6-e690c97775ac',
|
||||
kind: 'server',
|
||||
httpStatusCode: 500,
|
||||
},
|
||||
info?: any | null | undefined,
|
||||
info?: any | null,
|
||||
) {
|
||||
super(e.message);
|
||||
this.message = e.message;
|
||||
|
|
Loading…
Reference in a new issue