lighting-app/node_modules/yargs/build/lib/yerror.js
2022-06-03 11:13:06 +03:00

8 lines
181 B
JavaScript

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