Problem Statement
Which `Error` type is thrown by JSON decoding when the data doesn’t match the model in Swift’s `Codable` interface?
Explanation
When decoding JSON into a `Codable` model, Swift can throw several `DecodingError` cases: `dataCorrupted`, `keyNotFound`, `valueNotFound`, and `typeMismatch`. Handling them lets you provide more fine-grained error reporting in your persistence layer