Restructuring the folders
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
2023-05-24 10:23:44 -04:00
parent a475678dfa
commit 2ae97bba14
9 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
import { Payload } from '../../types/Payload';
export class ServiceError extends Error {
public env = process.env;
public debug?: Payload;
constructor(message: string, debug?: Payload) {
super(message);
this.name = 'ServiceError';
this.debug = debug;
}
}