core/network/api_exception
library
Exceptions / Errors
-
ApiException
-
A base class for all API-related exceptions.
-
BadRequestException
-
Exception thrown when the server returns a 400 Bad Request response.
-
NotFoundException
-
Exception thrown when the server returns a 404 Not Found response.
-
PermissionException
-
Exception thrown when the app does not have sufficient permissions to perform
a certain action or access a protected resource.
-
ServerErrorException
-
Exception thrown when the server returns a 500 Internal Server Error response.
-
UnauthorizedException
-
Exception thrown when the server returns a 401 Unauthorized response.