Enumerations
The following enumerations are available globally.
-
Represents errors that occur during serialization.
See moreDeclaration
Swift
public enum SerializationError : Error, LocalizedError, Sendable -
Represents API errors that occur during response transformation.
See more@unchecked Sendableis used here because the associated[String: Any]JSON dictionary does not conform toSendablein Swift’s type system. However, this is safe in practice because the dictionary is populated once at the call site during response parsing and is never mutated after the error value is constructed. All access is read-only.Declaration
Swift
public enum ApiError : Error, LocalizedError, @unchecked Sendable
View on GitHub
Enumerations Reference