Context
The context in which the error occurred.
struct Context
Citizens in Swift
Conformances
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Members
init(codingPath: [CodingKey], debugDescription: String, underlyingError: Error?
) Creates a new context with the given path of coding keys and a description of what went wrong.
let codingPath: [CodingKey]
The path of coding keys taken to get to the point of the failing encode call.
let debugDescription: String
A description of what went wrong, for debugging purposes.
let underlyingError: Error?
The underlying error which caused this error, if any.