Package-level declarations
Types
Link copied to clipboard
class BadRequestRestException(error: String, response: HttpResponse, message: String? = null) : RestException
Thrown when supabase-kt receives a response indicating that the request was invalid due to missing or wrong fields
Link copied to clipboard
An exception that is thrown when a request fails due to network issues
Link copied to clipboard
class NotFoundRestException(error: String, response: HttpResponse, message: String? = null) : RestException
Thrown when supabase-kt receives a response indicating that the wanted resource was not found
Link copied to clipboard
open class RestException(val error: String, val description: String?, val response: HttpResponse) : Exception
Base class for all response-related exceptions
Link copied to clipboard
Thrown when an encoding error occurs
Link copied to clipboard
class UnauthorizedRestException(error: String, response: HttpResponse, message: String? = null) : RestException
Thrown when supabase-kt receives a response indicating an authentication error
Link copied to clipboard
class UnknownRestException(error: String, response: HttpResponse, message: String? = null) : RestException
Thrown for all other response codes