2025-04-02 06:50:39 -04:00

8 lines
165 B
JavaScript

export class YError extends Error {
constructor(msg) {
super(msg || 'yargs error');
this.name = 'YError';
Error.captureStackTrace(this, YError);
}
}