Versions in this module Expand all Collapse all v0 v0.6.2 Sep 29, 2015 v0.6.1 Sep 28, 2015 Changes in this version + func HasCode(err error, code int) bool + type AuthenticationError struct + AuthDetail interface{} + func NewAuthenticationError(detail interface{}) AuthenticationError + func (err AuthenticationError) Error() string + type ConfigurationError struct + func NewConfigurationError() ConfigurationError + func (r ConfigurationError) Error() string + type CorruptedPacketError struct + func NewCorruptedPacketError() CorruptedPacketError + func (err CorruptedPacketError) Error() string + type ErrorCode int + func (code ErrorCode) Code() int + func (code ErrorCode) Prefix() string + type ErrorWithCode interface + Code func() int + type IPFormatError struct + IP []byte + func NewIPFormatError(ip []byte) IPFormatError + func (err IPFormatError) Error() string + type InvalidOperationError struct + Operation string + func NewInvalidOperationError(operation string) InvalidOperationError + func (r InvalidOperationError) Error() string + type ProtocolVersionError struct + Version int + func NewProtocolVersionError(version int) ProtocolVersionError + func (err ProtocolVersionError) Error() string