AtpErrorDescription

data class AtpErrorDescription(val error: String, val message: String?)

Description of an unsuccessful response.

The error type should map to an error name defined in the endpoint's Lexicon schema. This enables more specific error-handling by client software. This is particularly encouraged on 400, 500, and 502 status codes, where further information will be useful.

Constructors

Link copied to clipboard
constructor(error: String, message: String?)

Properties

Link copied to clipboard

Type name of the error (generic ASCII constant, no whitespace).

Link copied to clipboard

Description of the error, appropriate for display to humans.