linwenling
2023-05-03 48616bd99a97a692401f603fa15487dac18989b2
1
2
3
4
5
6
7
export class YError extends Error {
    constructor(msg) {
        super(msg || 'yargs error');
        this.name = 'YError';
        Error.captureStackTrace(this, YError);
    }
}