{
  "version": 3,
  "sources": ["../../src/web/lib/isConnectionError.ts"],
  "sourcesContent": ["import { ErrorCodes } from \"@framerjs/app-shared\"\n\n/** Connection error is a networking error, encoded in the `code` field */\nexport function isConnectionError(error: unknown) {\n\treturn (\n\t\terror &&\n\t\ttypeof error === \"object\" &&\n\t\t\"code\" in error &&\n\t\ttypeof error.code === \"number\" &&\n\t\terror.code === ErrorCodes.ConnectionError\n\t)\n}\n"],
  "mappings": ";AAGO,SAAS,kBAAkB,OAAgB;AACjD,SACC,SACA,OAAO,UAAU,YACjB,UAAU,SACV,OAAO,MAAM,SAAS,YACtB,MAAM;AAER;",
  "names": []
}
