feige
2024-08-29 82892af0b74f02df34eb2f9833da0d4c373e59b8
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);
    }
}