serverError

fun serverError(status: Int, code: String? = null, message: String, details: String? = null, hint: String? = null): ServerError(source)

What the server answered when it refused a write.

Parameters

status

the HTTP status.

code

the SQLSTATE or PostgREST code, or null.

message

the server's message.

details

the server's details, or null.

hint

the server's hint, or null.