"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RuntimeError = void 0;
class RuntimeError extends Error {
    constructor(msg, cause) {
        super(msg);
        this.name = this.constructor.name;
        this.message = msg;
        this.cause = cause;
        Error.captureStackTrace(this, this.constructor);
    }
}
exports.RuntimeError = RuntimeError;
