'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * Note that instances of this class do NOT pass `instanceof JsonFileError`. */ class JsonFileError extends Error { constructor(message, cause, code) { let fullMessage = cause ? `${message}\nāā Cause: ${cause.name}: ${cause.message}` : message; super(fullMessage); this.name = this.constructor.name; this.cause = cause; this.code = code; this.isJsonFileError = true; } } exports.default = JsonFileError; //# sourceMappingURL=JsonFileError.js.map