Generic

data class Generic(val code: String, val message: String, val scope: RendererErrorMessage.Scope, val additional: Map<String, JsonElement> = emptyMap()) : RendererErrorMessage

Any other failure, attributed to exactly one of a surface or a function call.

additional carries keys outside the modelled ones: this is the one object in the v1.0 schemas that sets additionalProperties: true outright.

Constructors

Link copied to clipboard
constructor(code: String, message: String, scope: RendererErrorMessage.Scope, additional: Map<String, JsonElement> = emptyMap())

Properties

Link copied to clipboard
val additional: Map<String, JsonElement>
Link copied to clipboard
open override val code: String

The wire value of code.

Link copied to clipboard
open override val message: String

A sentence or two on what went wrong.

Link copied to clipboard