{"version":3,"file":"error.mjs","sources":["../../../../../src/server/boundary/error.tsx"],"sourcesContent":["export function errorBoundary(error: any) {\n  if (\n    error.constructor.name === 'ErrorResponse' ||\n    error.constructor.name === 'ErrorResponseImpl'\n  ) {\n    return (\n      <div\n        dangerouslySetInnerHTML={{__html: error.data || 'Handling response'}}\n      />\n    );\n  }\n\n  throw error;\n}\n"],"names":["_jsx"],"mappings":";;AAAM,SAAU,aAAa,CAAC,KAAU,EAAA;AACtC,IAAA,IACE,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,eAAe;AAC1C,QAAA,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,mBAAmB,EAC9C;AACA,QAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EACE,uBAAuB,EAAE,EAAC,MAAM,EAAE,KAAK,CAAC,IAAI,IAAI,mBAAmB,EAAC,EAAA,CACpE;IAEN;AAEA,IAAA,MAAM,KAAK;AACb;;;;"}