Type Method

userInfoValueProviderForDomain:

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

Declaration

+ (id  _Nullable (^)(NSError * _Nonnull, NSErrorUserInfoKey _Nonnull))userInfoValueProviderForDomain:(NSErrorDomain)errorDomain;

Parameters

errorDomain

The error domain of the user info provider.

Return Value

The user info provider of the error domain, or nil if none is specified.

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.

NSErrorUserInfoKey

These keys may exist in the user info dictionary.