core tests
Some checks failed
Some checks failed
This commit is contained in:
@@ -7,6 +7,7 @@ export abstract class AdminDomainError extends Error implements DomainError<Comm
|
||||
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = 'AdminDomainError';
|
||||
Object.setPrototypeOf(this, new.target.prototype);
|
||||
}
|
||||
}
|
||||
@@ -19,6 +20,7 @@ export class AdminDomainValidationError
|
||||
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = 'AdminDomainValidationError';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,6 +32,7 @@ export class AdminDomainInvariantError
|
||||
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = 'AdminDomainInvariantError';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,5 +44,6 @@ export class AuthorizationError
|
||||
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = 'AuthorizationError';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user