NET-Web-API-w-Angular/my-app/node_modules/yargs/build/lib/yerror.js

10 lines
234 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
export class YError extends Error {
constructor(msg) {
super(msg || 'yargs error');
this.name = 'YError';
if (Error.captureStackTrace) {
Error.captureStackTrace(this, YError);
}
}
}