This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { Payload } from "../../types/Payload";
|
||||
import { Payload } from '../../types/Payload';
|
||||
|
||||
export class ServiceError extends Error {
|
||||
public env = process.env;
|
||||
public debug?: Payload;
|
||||
public env = process.env;
|
||||
public debug?: Payload;
|
||||
|
||||
constructor(message: string, debug?: Payload) {
|
||||
super(message);
|
||||
this.name = "ServiceError";
|
||||
this.debug = debug;
|
||||
}
|
||||
constructor(message: string, debug?: Payload) {
|
||||
super(message);
|
||||
this.name = 'ServiceError';
|
||||
this.debug = debug;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user