feige
2024-08-31 f72cc2c5bc9ea4df7819cf53e3b872024e0583a1
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);
    }
}