Package breakdown. Commit v1.0.0 of services-common stuff

This commit is contained in:
2023-05-23 14:22:12 -04:00
commit c062bae677
11 changed files with 7444 additions and 0 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;
}
}