Contents

userInfoValueProvider(forDomain:)

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

Declaration

class func userInfoValueProvider(forDomain errorDomain: String) -> (@Sendable (any Error, String) -> Any?)?

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