attachment(_:didEncounterError:)
The method the attachment object calls when the NBD client encounters a nonrecoverable error.
Declaration
optional func attachment(_ attachment: VZNetworkBlockDeviceStorageDeviceAttachment, didEncounterError error: any Error)Parameters
- attachment:
The attachment object calling the delegate method.
- error:
An Nserror that describes the nonrecoverable error.
Discussion
After the attachment object calls this method, the NBD client is in a nonfunctional state.