Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedProtocol occurs when trying to use protocol that is not supported. ErrUnsupportedProtocol = errors.New("only unix, tcp/tcp4/tcp6, udp/udp4/udp6 are supported") // ErrUnsupportedTCPProtocol occurs when trying to use an unsupported TCP protocol. ErrUnsupportedTCPProtocol = errors.New("only tcp/tcp4/tcp6 are supported") // ErrUnsupportedUDPProtocol occurs when trying to use an unsupported UDP protocol. ErrUnsupportedUDPProtocol = errors.New("only udp/udp4/udp6 are supported") // ErrNoIPv4AddressOnInterface occurs when an IPv4 multicast address is set on an interface but IPv4 is not configured. ErrNoIPv4AddressOnInterface = errors.New("no IPv4 address on interface") // ErrNotSupported occurs when not supported feature is used. ErrNotSupported = errors.New("not supported") // ErrSkippable indicates an error that can be skipped and not handled as an usual flow breaking error. ErrSkippable = errors.New("skippable") // ErrIsEmpty indicates that data holder, data magazine or buffer is empty. ErrIsEmpty = errors.New("is empty") // ErrConnectionAlreadyClosed when trying to close already closed connection. ErrConnectionAlreadyClosed = errors.New("connection already closed") // ErrConnectionAlreadyClosed when trying to work with closed connection. ErrConnectionClosed = errors.New("connection closed") // ErrOpNotAvailableInMode occurs when trying to run operation that is not available in current mode. ErrOpNotAvailableInMode = errors.New("op is not available in mode") // ErrConnectionQueueIsNil occurs when trying to access connection queue that is not initialized. ErrConnectionQueueIsNil = errors.New("connection queue is nil") // ErrUnknownConnectionState occurs when connection state is unknown. ErrUnknownConnectionState = errors.New("unknown connection state") // ErrInvalidTimeDuration occure when specyfied time duration is not valid. ErrInvalidTimeDuration = errors.New("invalid time duration") // ErrInvalidState occurs when operation is called in invalid state. ErrInvalidState = errors.New("invalid state") // ErrAddressNotFound occurs when network address of fd could not be found. ErrAddressNotFound = errors.New("address could not be found") // ErrServerAlreadyRunning occurs when trying to start already running server. ErrServerAlreadyRunning = errors.New("server already running") // ErrGettingSQE occurs when SQE could not be obtained. ErrGettingSQE = errors.New("error getting SQE") )
Functions ¶
func ErrorAddressNotFound ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.