You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let user =tryKeyValuDecoder().decode(User.self, from: ["id":1, "name":"Herbert"])
46
46
```
47
47
48
-
[`DecodingError`](https://developer.apple.com/documentation/swift/decodingerror) is thrown when decoding fails. [`Context`](https://developer.apple.com/documentation/swift/decodingerror/context)will include a keyPath to the failed property.
48
+
[`DecodingError`](https://developer.apple.com/documentation/swift/decodingerror) is thrown when decoding fails. [`Context`](https://developer.apple.com/documentation/swift/decodingerror/context)includes a keyPath to the failed property.
49
49
50
50
```swift
51
51
// throws DecodingError.typeMismatch 'Expected String at SELF[1], found Int'
0 commit comments