Skip to content

ComponentSocketError

dsmurfin edited this page Aug 28, 2021 · 3 revisions

ComponentSocketError

Component Socket Error

public enum ComponentSocketError: LocalizedError 

Enumerates all possible ComponentSocketError errors.

Inheritance

LocalizedError

Enumeration Cases

couldNotEnablePortReuse

It was not possible to enable port reuse.

case couldNotEnablePortReuse

couldNotJoin

It was not possible to join this multicast group.

case couldNotJoin(multicastGroup: String)

couldNotLeave

It was not possible to leave this multicast group.

case couldNotLeave(multicastGroup: String)

couldNotBind

It was not possible to bind to a port/interface.

case couldNotBind(message: String)

couldNotAssignMulticastInterface

It was not possible to assign the interface on which to send multicast.

case couldNotAssignMulticastInterface(message: String)

couldNotReceive

It was not possible to start receiving data, e.g. because no bind occured first.

case couldNotReceive(message: String)

Properties

logDescription

A human-readable description of the error useful for logging purposes.

public var logDescription: String 
Clone this wiki locally