JsonApiException

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

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
open val cause: Throwable?
Link copied to clipboard

The errors returned by the server.

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