export class QrCodeScanError extends Error {
  constructor(message, data) {
    super(message);
    this.data = data;
  }
}
export class BifoldError extends Error {
  constructor(title, description, message, code) {
    super(message);
    this.title = title;
    this.description = description;
    this.code = code;

    // Set the prototype explicitly.
    Object.setPrototypeOf(this, BifoldError.prototype);
  }
}
//# sourceMappingURL=error.js.map