mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-03 16:53:55 +03:00
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
|
export class ModelLoadException extends Error {
|
||
|
public causeFileType: string = ""
|
||
|
constructor(causeFileType: string) {
|
||
|
super(`Model Load Exception:${causeFileType}`);
|
||
|
this.causeFileType = causeFileType;
|
||
|
this.name = this.constructor.name;
|
||
|
Error.captureStackTrace(this);
|
||
|
}
|
||
|
}
|