GenericError

data class GenericError(val type: String, val detail: String)

The object used the describe an error, containing both human-readable and in a machine-readable information.

Parameters

type

Snake cased all caps error code interpreted from the HTTP status code that can programmatically be acted upon.

detail

A human-readable explanation of the error, specific to this error occurrence.

Constructors

Link copied to clipboard
constructor(type: String, detail: String)

Types

Link copied to clipboard
class Builder(type: String? = null, detail: String? = null)
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@Valid
val detail: String
Link copied to clipboard
@Valid
val type: String