Type Alias

NSErrorUserInfoKey

These keys may exist in the user info dictionary.

Declaration

typedef NSString *NSErrorUserInfoKey;

Topics

Constants

NSURLErrorKey

The corresponding value is an NSURL object.

NSFilePathErrorKey

Contains the file path of the error.

NSHelpAnchorErrorKey

The corresponding value is an NSString containing the localized help corresponding to the help button. See helpAnchor for more information.

NSLocalizedDescriptionKey

The corresponding value is a localized string representation of the error that, if present, will be returned by localizedDescription.

NSLocalizedFailureReasonErrorKey

The corresponding value is a localized string representation containing the reason for the failure that, if present, will be returned by localizedFailureReason.

NSLocalizedRecoveryOptionsErrorKey

The corresponding value is an array containing the localized titles of buttons appropriate for displaying in an alert panel.

NSLocalizedRecoverySuggestionErrorKey

The corresponding value is a string containing the localized recovery suggestion for the error.

NSRecoveryAttempterErrorKey

The corresponding value is an object that conforms to the NSErrorRecoveryAttempting informal protocol.

NSStringEncodingErrorKey

The corresponding value is an NSNumber object containing the NSStringEncoding value.

NSUnderlyingErrorKey

The corresponding value is an error that was encountered in an underlying implementation and caused the error that the receiver represents to occur.

See Also

Providing Error User Info

+ setUserInfoValueProviderForDomain:provider:

Specifies a block to call when the corresponding property is not present in the user info dictionary.

+ userInfoValueProviderForDomain:

Returns any user info provider specified for a given error domain.