Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthenticationError ¶
type AuthenticationError struct { ErrorCode AuthDetail interface{} }
func NewAuthenticationError ¶
func NewAuthenticationError(detail interface{}) AuthenticationError
func (AuthenticationError) Error ¶
func (err AuthenticationError) Error() string
type ConfigurationError ¶
type ConfigurationError struct {
ErrorCode
}
func NewConfigurationError ¶
func NewConfigurationError() ConfigurationError
func (ConfigurationError) Error ¶
func (r ConfigurationError) Error() string
type CorruptedPacketError ¶
type CorruptedPacketError struct {
ErrorCode
}
func NewCorruptedPacketError ¶
func NewCorruptedPacketError() CorruptedPacketError
func (CorruptedPacketError) Error ¶
func (err CorruptedPacketError) Error() string
type ErrorWithCode ¶
type IPFormatError ¶
func NewIPFormatError ¶
func NewIPFormatError(ip []byte) IPFormatError
func (IPFormatError) Error ¶
func (err IPFormatError) Error() string
type InvalidOperationError ¶
func NewInvalidOperationError ¶
func NewInvalidOperationError(operation string) InvalidOperationError
func (InvalidOperationError) Error ¶
func (r InvalidOperationError) Error() string
type ProtocolVersionError ¶
func NewProtocolVersionError ¶
func NewProtocolVersionError(version int) ProtocolVersionError
func (ProtocolVersionError) Error ¶
func (err ProtocolVersionError) Error() string
Click to show internal directories.
Click to hide internal directories.