voice-changer/client/lib/src/exceptions.ts
2023-09-25 13:25:07 +09:00

10 lines
318 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);
}
}