voice-changer/client/lib/src/exceptions.ts
2023-06-11 10:55:26 +09:00

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);
}
}