ErrorInfo

class ErrorInfo @InternalWowApi constructor(val code: String, val message: String, val violations: List<Violation> = emptyList(), val extensions: Map<String, Any?> = emptyMap())

Why a command was rejected or failed: an error code (wow.* or a domain's own), a message, violations, and the rejection's structured extensions, which an HTTP problem writes as its extension members.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(code: String, message: String, violations: List<Violation> = emptyList(), extensions: Map<String, Any?> = emptyMap())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String