Contents

error

The connection-wide error property.

Declaration

var error: (any Error)? { get }

Discussion

Indicates any fatal error that occurred while processing the connection or performing data reading or writing. Use Key-Value Observing to watch this property.

See Also

Monitoring the connection status