Documentation
¶
Index ¶
Constants ¶
View Source
const ( UnspecifiedErrorCode int = 100 InterruptSignalCode int = 101 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientError ¶
type ClientError interface {
ErrorCode() int
}
ClientError declares interface for errors known to the client that set specific error code.
type CommandFailedError ¶
type CommandFailedError struct {
FailedCount int
}
func (CommandFailedError) Error ¶
func (err CommandFailedError) Error() string
func (CommandFailedError) ErrorCode ¶
func (err CommandFailedError) ErrorCode() int
Click to show internal directories.
Click to hide internal directories.