11 lines
331 B
TypeScript
11 lines
331 B
TypeScript
/**
|
|
* Error thrown when there is an error while initializing services or the app in general.
|
|
*
|
|
* You're pretty much fucked at this point, try to avoid unstable code on initialization
|
|
*/
|
|
export class InitializationError extends Error {
|
|
public constructor(message: string = 'initialization failed') {
|
|
super(message);
|
|
}
|
|
}
|