Keys for the user info dictionary

Keys in the userInfo dictionary.

Overview

When you create a user info dictionary, at a minimum you should provide values for one of kCFErrorLocalizedDescriptionKey and kCFErrorLocalizedFailureReasonKey; ideally you should provide values for kCFErrorLocalizedDescriptionKey, kCFErrorLocalizedFailureReasonKey, and kCFErrorLocalizedRecoverySuggestionKey. Typically, you should provide a value for one of either kCFErrorURLKey or kCFErrorFilePathKey.

Topics

Constants

kCFErrorLocalizedDescriptionKey

Key to identify the user-presentable description in the userInfo dictionary.

kCFErrorLocalizedFailureReasonKey

Key to identify the user-presentable failure reason in the userInfo dictionary.

kCFErrorLocalizedRecoverySuggestionKey

Key to identify the user-presentable recovery suggestion in the userInfo dictionary.

kCFErrorDescriptionKey

Key to identify the description in the userInfo dictionary.

kCFErrorUnderlyingErrorKey

Key to identify the underlying error in the userInfo dictionary.

kCFErrorURLKey

Key to identify associated URL in the userInfo dictionary.

kCFErrorFilePathKey

Key to identify associated file path in the userInfo dictionary.