struct
Context
The context in which the error occurred.
Initializers
Instance Variables
The path of coding keys taken to get to the point of the failing decode call.
Declaration
let
codingPath
: [
CodingKey
]
Auto-generated documentation for Swift. Command-click no more.
struct
Context
The context in which the error occurred.
The path of coding keys taken to get to the point of the failing decode call.
let
codingPath
: [
CodingKey
]
Creates a new context with the given path of coding keys and a description of what went wrong.
Declaration
public
init
(
codingPath
: [
CodingKey
],
debugDescription
:
String
,
underlyingError
:
Error
? =
nil
)