Enumeration Case

NSCoder.DecodingFailurePolicy.raiseException

A failure policy that directs the coder to raise an exception.

Declaration

case raiseException = 0

Discussion

With this policy, the NSCoder raises an exception internally to propagate failure messages (and unwind the stack).

See Also

Failure Policies

case setErrorAndReturn

A failure policy that directs the coder to capture the failure as an error object.