{"version":3,"file":"runtime_error.mjs","names":[],"sources":["../../src/expression/runtime_error.ts"],"sourcesContent":["export class RuntimeError extends Error {\n    /**\n     * Index path of the throwing sub-expression (e.g. `[3][0]`); the empty string\n     * means the throw is at the root of the expression. Combined with the root key\n     * at the catch site to locate it in the style JSON.\n     */\n    readonly path: string;\n\n    constructor(message: string, path: string) {\n        super(message);\n        this.name = 'RuntimeError';\n        this.path = path;\n    }\n\n    toJSON() {\n        return this.message;\n    }\n}\n"],"mappings":";AAAA,IAAa,eAAb,cAAkC,MAAM;CAQpC,YAAY,SAAiB,MAAc;EACvC,MAAM,OAAO;EACb,KAAK,OAAO;EACZ,KAAK,OAAO;CAChB;CAEA,SAAS;EACL,OAAO,KAAK;CAChB;AACJ"}