enum EncodingError

An error that occurs during the encoding of a value.

Inheritance Error View Protocol Hierarchy →
Nested Types EncodingError.Context
Import import Swift


case invalidValue(Any, EncodingError.Context)

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.


Conditionally Inherited Items

The initializers, methods, and properties listed below may be available on this type under certain conditions (such as methods that are available on Array when its elements are Equatable) or may not ever be available if that determination is beyond SwiftDoc.org's capabilities. Please open an issue on GitHub if you see something out of place!

Where RawValue : SignedInteger

Where RawValue : UnsignedInteger