RestException

open class RestException(val error: String, val description: String?, val statusCode: Int, message: String) : 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

statusCode

The HTTP status code of the rest exception.

See also

Inheritors

Constructors

Link copied to clipboard
constructor(error: String, response: HttpResponse, message: String? = null)
constructor(error: String, description: String?, statusCode: Int, message: String)

Properties

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