JobError

@Serializable
data class JobError(val details: List<String>? = null, val code: Int? = null, val message: String? = null)

Job error.

Constructors

Link copied to clipboard
constructor(details: List<String>? = null, code: Int? = null, message: String? = null)

Properties

Link copied to clipboard
val code: Int? = null

The status code.

Link copied to clipboard
val details: List<String>? = null

A list of messages that carry the error details. There is a common set of message types for APIs to use.

Link copied to clipboard
val message: String? = null

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the details field.