Represents error object returned to user when offline
Usage:
client.mutate(...).catch((error)=> { if(error.networkError && error.networkError.offline){ const offlineError: OfflineError = error.networkError; offlineError.watchOfflineChange().then(...) } });
Generated using TypeDoc
Represents error object returned to user when offline
Usage:
client.mutate(...).catch((error)=> { if(error.networkError && error.networkError.offline){ const offlineError: OfflineError = error.networkError; offlineError.watchOfflineChange().then(...) } });