Failure

@Serializable
data class Failure(val code: Int, val message: String, val contextual: String? = null, val extra: Map<String, String>? = null) : WrappedResult<Nothing>

Constructors

Link copied to clipboard
constructor(ex: MhdRuntimeException, overrideCode: HeadlessError? = null)
constructor(ex: Exception, overrideCode: HeadlessError? = null)
constructor(headlessError: HeadlessError, contextual: String? = null)
constructor(code: Int, message: String, contextual: String? = null, extra: Map<String, String>? = null)

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard
val contextual: String? = null
Link copied to clipboard
val extra: Map<String, String>? = null
Link copied to clipboard