EnumerationJSON
PrimitiveError
A primitive decoding operation failed.
enum PrimitiveError
A primitive decoding operation failed.
enum PrimitiveError
case matching(variant: JSON, as: Any.Type)
A decoder failed to unwrap the expected type from a variant.
case shaping(aggregate: [JSON], count: Int?)
A decoder successfully unwrapped an array, but it had the wrong number of elements.
case undefined(key: String, in: [String : JSON])
An object did not contain the expected key.
static var namespace: String
Returns the string "primitive decoding error"
.
var context: [String]
var description: String
A textual representation of this instance.
var halfWidthCornerQuoted: String
var message: String
var next: Error?