Documentation ¶
Index ¶
Constants ¶
View Source
const ERR_DIAL = int32(2)
View Source
const ERR_LOST_CONNECTION = int32(1)
Variables ¶
This section is empty.
Functions ¶
func NewUnauthorizedError ¶
Types ¶
type NonRetryError ¶
type NonRetryError struct {
Err error
}
NonRetryError is a type that noaa uses when it encountered an error, and is not going to retry the operation. When errors of this type are encountered, they should result in a closed connection.
func NewNonRetryError ¶
func NewNonRetryError(err error) NonRetryError
NewNonRetryError constructs a NonRetryError from any error.
type RetryError ¶
type RetryError struct {
Err error
}
RetryError is a type that noaa uses when it encountered an error, but is going to retry the operation. When errors of this type are encountered, they should not result in a closed connection.
func NewRetryError ¶
func NewRetryError(err error) RetryError
NewRetryError constructs a RetryError from any error.
type UnauthorizedError ¶
type UnauthorizedError struct {
// contains filtered or unexported fields
}
func (*UnauthorizedError) Error ¶
func (err *UnauthorizedError) Error() string
Click to show internal directories.
Click to hide internal directories.