Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTimeout = errors.New("action timed out") ErrTypeClosed = errors.New("type was closed") ErrNotConnected = errors.New("not connected to target source or sink") // ErrAlreadyStarted is returned when an input or output type gets started a // second time. ErrAlreadyStarted = errors.New("type has already been started") ErrNoAck = errors.New("failed to receive acknowledgement") ErrFailedSend = errors.New("message failed to reach a target destination") )
Errors used throughout the codebase
View Source
var ( ErrInputNotFound = errors.New("input not found") ErrCacheNotFound = errors.New("cache not found") ErrProcessorNotFound = errors.New("processor not found") ErrRateLimitNotFound = errors.New("rate limit not found") ErrOutputNotFound = errors.New("output not found") ErrKeyAlreadyExists = errors.New("key already exists") ErrKeyNotFound = errors.New("key does not exist") ErrPipeNotFound = errors.New("pipe was not found") )
Manager errors
View Source
var (
ErrMessageTooLarge = errors.New("message body larger than buffer space")
)
Buffer errors
Functions ¶
func ErrInvalidType ¶
ErrInvalidType creates an error that describes a component type being initialised with an unrecognised implementation.
Types ¶
type ErrUnexpectedHTTPRes ¶
ErrUnexpectedHTTPRes is an error returned when an HTTP request returned an unexpected response.
func (ErrUnexpectedHTTPRes) Error ¶
func (e ErrUnexpectedHTTPRes) Error() string
Error returns the Error string.
Click to show internal directories.
Click to hide internal directories.