You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
549 B

export class InternalServiceConflictError extends Error {
public constructor(internalServiceClass: any) {
super(`Unable to register service '${internalServiceClass}' as it conflicts with an already registered service.`);
Object.setPrototypeOf(this, InternalServiceConflictError.prototype);
}
}
export class InternalServiceNotFoundError extends Error {
public constructor(internalServiceClass: any) {
super(`Internal service not found: ${internalServiceClass}.`);
Object.setPrototypeOf(this, InternalServiceNotFoundError.prototype);
}
}