Enumeration

EncodingError

An error that occurs during the encoding of a value.

Declaration

enum EncodingError

Topics

Enumeration Cases

case invalidValue(Any, EncodingError.Context)

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

Structures

struct EncodingError.Context

The context in which the error occurred.

Relationships

Conforms To

See Also

Encoders and Decoders

protocol Encoder

A type that can encode values into a native format for external representation.

protocol Decoder

A type that can decode values from a native format into in-memory representations.

enum DecodingError

An error that occurs during the decoding of a value.