@auttam/easycli
Version:
A quick and easy way of creating cli for your npm package.
15 lines (14 loc) • 427 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RuntimeError = void 0;
class RuntimeError extends Error {
constructor(message, data) {
super(message);
if (Error.captureStackTrace) {
Error.captureStackTrace(this, RuntimeError);
}
this.name = 'RuntimeError';
this.data = data;
}
}
exports.RuntimeError = RuntimeError;