Contents

disbursementContactInvalidError(withContactField:localizedDescription:)

Creates a recipient contact error with the supplied field.

Declaration

class func disbursementContactInvalidError(withContactField field: PKContactField, localizedDescription: String?) -> any Error

Parameters

  • field:

    The Pkcontactfield that contains the error.

  • localizedDescription:

    An optional localized description that the framework displays to the individual.

Return Value

An NSError object.

Discussion

There’s limited display space available for descriptions, so keep your messages concise.

See Also

Handling errors