alepha
Version:
Easy-to-use modern TypeScript framework for building many kind of applications.
12 lines (9 loc) • 363 B
text/typescript
import { AlephaError } from "./AlephaError.ts";
export class TooLateSubstitutionError extends AlephaError {
readonly name = "TooLateSubstitutionError";
constructor(original: string, substitution: string) {
super(
`Service already substituted. Please, substitute Service '${original}' with Service '${substitution}' before using it.`,
);
}
}