A failure policy that directs the coder to capture the failure as an error object.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Use this policy if you know that all encoded objects use
fail to communicate decode failures and don't raise exceptions for error propagation.