EncodingError

enum EncodingError

An error that occurs during the encoding of a value.

Inheritance Error
Nested Types EncodingError.Context

Cases

case invalidValue Required

An indication that an encoder or its containers could not encode the given value.

As associated values, this case contains the attempted value and context for debugging.

Declaration

case invalidValue(: Any, : EncodingError.Context)