1 2 3 4 5 6 7
export default class YomikunError extends Error { constructor(message = "", ...args: any) { super(message, ...args); this.message = message; this.name = "YomikunError"; } }