ResponseError

data class ResponseError(val code: ResponseErrorCode, val message: String)(source)

An error object returned when the model fails to generate a Response.

Parameters

code
message

A human-readable description of the error.

Constructors

Link copied to clipboard
constructor(code: ResponseErrorCode, message: String)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "message")
val message: String