Instance Property


An error in the top-level encode.


@property(readonly, copy) NSError *error;


The meaning of this property depends on the setting of the decodingFailurePolicy property. For NSDecodingFailurePolicyRaiseException, this property is always nil. For NSDecodingFailurePolicySetErrorAndReturn, a non-nil value represents the first error encountered while decoding the archive.

See Also

Managing Decode Errors

- failWithError:

Signals to this coder that the decode operation has failed.