JsonApiException

@Serializable
class JsonApiException(val statusCode: Int, val body: String)

An exception thrown by the JSON:API server.

Parameters

statusCode

The status code of the response.

body

The body of the response.

Constructors

Link copied to clipboard
constructor(statusCode: Int, body: String)

Properties

Link copied to clipboard
Link copied to clipboard
val errors: <Error class: unknown class>

The errors returned by the server.

Link copied to clipboard