source: trip-planner-front/node_modules/yargs/build/lib/yerror.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 181 bytes
Line 
1export class YError extends Error {
2 constructor(msg) {
3 super(msg || 'yargs error');
4 this.name = 'YError';
5 Error.captureStackTrace(this, YError);
6 }
7}
Note: See TracBrowser for help on using the repository browser.