Enumeration Caseswift 6.0.1Swift
keyNotFound(_:_:)
An indication that a keyed decoding container was asked for an entry for the given key, but did not contain one.
case keyNotFound(any CodingKey, DecodingError.Context)
As associated values, this case contains the attempted key and context for debugging.
Other cases
case dataCorrupted(DecodingError.Context)
An indication that the data is corrupted or otherwise invalid.
case typeMismatch(any Any.Type, DecodingError.Context)
An indication that a value of the given type could not be decoded because it did not match the type of what was found in the encoded payload.
case valueNotFound(any Any.Type, DecodingError.Context)
An indication that a non-optional value of the given type was expected, but a null value was found.