Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrAuthFailed ¶
type ErrAuthFailed struct {
// contains filtered or unexported fields
}
ErrAuthFailed is an error that is returned when authentication fails.
func (*ErrAuthFailed) Error ¶
func (e *ErrAuthFailed) Error() string
func (*ErrAuthFailed) Unwrap ¶ added in v0.0.5
func (e *ErrAuthFailed) Unwrap() []error
type ErrHeNet ¶
type ErrHeNet struct {
// contains filtered or unexported fields
}
ErrHeNet is an error returned when dns.he.net returns an error. It contains the error message returned in the HTML response.
type ErrMissingOTPAuth ¶ added in v0.0.5
type ErrMissingOTPAuth struct{}
ErrMissingOTPAuth is an error returned when the user is not fully authenticated. It is used when dns.he.net returns that the client lacks OTP authentication. It includes two wrapped errors, ErrAuth and ErrHeNet.
func (*ErrMissingOTPAuth) Error ¶ added in v0.0.5
func (e *ErrMissingOTPAuth) Error() string
func (*ErrMissingOTPAuth) Unwrap ¶ added in v0.0.5
func (e *ErrMissingOTPAuth) Unwrap() []error
type ErrNoAuth ¶
type ErrNoAuth struct{}
ErrNoAuth is an error returned when the user is not authenticated. It is used when dns.he.net returns that the client is not authenticated. It includes two wrapped errors, ErrAuth and ErrHeNet.
type ErrOTPAuthFailed ¶ added in v0.0.5
type ErrOTPAuthFailed struct {
// contains filtered or unexported fields
}
ErrOTPAuthFailed is an error that is returned when authentication fails.
func (*ErrOTPAuthFailed) Error ¶ added in v0.0.5
func (e *ErrOTPAuthFailed) Error() string
func (*ErrOTPAuthFailed) Unwrap ¶ added in v0.0.5
func (e *ErrOTPAuthFailed) Unwrap() []error
type ErrPartialAuth ¶ added in v0.0.5
type ErrPartialAuth struct{}
ErrPartialAuth is an error that is returned when authentication is incomplete.
func (*ErrPartialAuth) Error ¶ added in v0.0.5
func (e *ErrPartialAuth) Error() string
func (*ErrPartialAuth) Unwrap ¶ added in v0.0.5
func (e *ErrPartialAuth) Unwrap() []error
type ErrUnknownAuth ¶
type ErrUnknownAuth struct{}
ErrUnknownAuth is an error returned when it's not possible to determine the authentication status. It includes two wrapped errors, ErrAuth and ErrHeNet.
func (*ErrUnknownAuth) Error ¶
func (e *ErrUnknownAuth) Error() string
func (*ErrUnknownAuth) Unwrap ¶
func (e *ErrUnknownAuth) Unwrap() []error