Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnspecifiedErrorCode int = 100 InterruptSignalCode int = 101 MissingCredentials int = 102 InvalidCredentials int = 103 )
Variables ¶
This section is empty.
Functions ¶
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
type InvalidCredentialsError ¶
type InvalidCredentialsError struct{}
func (InvalidCredentialsError) Error ¶
func (err InvalidCredentialsError) Error() string
func (InvalidCredentialsError) ErrorCode ¶
func (err InvalidCredentialsError) ErrorCode() int
type MissingCredentialsError ¶
type MissingCredentialsError struct {
ConfigFile string
}
func (MissingCredentialsError) Error ¶
func (err MissingCredentialsError) Error() string
func (MissingCredentialsError) ErrorCode ¶
func (err MissingCredentialsError) ErrorCode() int
Click to show internal directories.
Click to hide internal directories.