PostgrestRestException

class PostgrestRestException(    message: String,     val hint: String?,     val details: JsonElement?,     val code: String?,     response: HttpResponse) : RestException(source)

Exception thrown when a Postgrest request fails

Parameters

message

The error message

hint

A hint to the error

details

Additional details about the error

code

The error code

response

The response that caused the exception

Constructors

Link copied to clipboard
constructor(message: String, hint: String?, details: JsonElement?, code: String?, response: HttpResponse)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: String?
Link copied to clipboard
Link copied to clipboard
val details: JsonElement?
Link copied to clipboard
Link copied to clipboard
val hint: String?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val response: HttpResponse
Link copied to clipboard