the-forest/client/node_modules/yargs/build/lib/yerror.js

8 lines
181 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
export class YError extends Error {
constructor(msg) {
super(msg || 'yargs error');
this.name = 'YError';
Error.captureStackTrace(this, YError);
}
}