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.