RestException

open class RestException(val error: String, val description: String?, val response: HttpResponse) : Exception

Base class for all response-related exceptions

Plugins may extend this class to provide more specific exceptions

Parameters

error

The error returned by Supabase

description

The error description returned by Supabase

response

The response that caused the exception

See also

Inheritors

Constructors

Link copied to clipboard
constructor(error: String, description: String?, response: HttpResponse)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect open val message: String?
Link copied to clipboard
val response: HttpResponse
Link copied to clipboard

The status code of the response