mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2025-01-23 22:04:45 +01:00
10 lines
234 B
JavaScript
10 lines
234 B
JavaScript
|
export class YError extends Error {
|
||
|
constructor(msg) {
|
||
|
super(msg || 'yargs error');
|
||
|
this.name = 'YError';
|
||
|
if (Error.captureStackTrace) {
|
||
|
Error.captureStackTrace(this, YError);
|
||
|
}
|
||
|
}
|
||
|
}
|