{"version":3,"file":"errors.mjs","sources":["../src/errors.ts"],"sourcesContent":["interface AbortErrorOptions {\n  readonly message?: string;\n  readonly cause?: unknown;\n}\n\nexport class AbortError extends DOMException {\n  constructor(options: AbortErrorOptions | string = {}) {\n    const {\n      message = 'The operation was aborted.',\n      cause,\n    } = typeof options === 'string' ? { message: options } : options;\n\n    super(message, { name: 'AbortError', cause });\n  }\n}\n"],"names":[],"mappings":"AAKO,MAAM,mBAAmB,aAAa;AAAA,EAC3C,YAAY,UAAsC,IAAI;AACpD,UAAM;AAAA,MACJ,UAAU;AAAA,MACV;AAAA,IAAA,IACE,OAAO,YAAY,WAAW,EAAE,SAAS,YAAY;AAEzD,UAAM,SAAS,EAAE,MAAM,cAAc,OAAO;AAAA,EAC9C;AACF;"}