X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fexception%2FBaseError.ts;h=84421eac143b3db6440fd74cb2c8fc6ed8ec3eee;hb=e843aa4048c6bfcad2d8e54763b649eda57dbcb3;hp=1471844cf4cf109e0df3895061b586d6c6c510c2;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/src/exception/BaseError.ts b/src/exception/BaseError.ts index 1471844c..84421eac 100644 --- a/src/exception/BaseError.ts +++ b/src/exception/BaseError.ts @@ -1,4 +1,4 @@ -export default class BaseError extends Error { +export class BaseError extends Error { public constructor(message?: string) { super(message); this.name = new.target.name;