handleError method
void
handleError(
- RealtimeResponse response
inherited
Implementation
void handleError(RealtimeResponse response) {
if (response.data['code'] == status.policyViolation) {
throw AppwriteException(response.data["message"], response.data["code"]);
} else {
_retry();
}
}