{"version":3,"file":"responseUtils.mjs","names":[],"sources":["../../../src/tools/utils/responseUtils.ts"],"sourcesContent":["export function isServerError(status: number) {\n  return status >= 500\n}\n\nexport function tryToClone(response: Response): Response | undefined {\n  try {\n    return response.clone()\n  } catch {\n    // clone can throw if the response has already been used by another instrumentation or is disturbed\n    return\n  }\n}\n"],"mappings":";AAAA,SAAgB,cAAc,QAAgB;CAC5C,OAAO,UAAU;AACnB;AAEA,SAAgB,WAAW,UAA0C;CACnE,IAAI;EACF,OAAO,SAAS,MAAM;CACxB,QAAQ;EAEN;CACF;AACF"}