Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Err ¶
type Err int
Err is a shellicator specific error.
const ( // ErrGeneric Generic error occured. ErrGeneric Err // ErrTokenNotFound a token was not found. ErrTokenNotFound // ErrProviderNotFound no oauth provider found. ErrProviderNotFound // ErrProviderCfgInvalid provider configuration is invalid. ErrProviderCfgInvalid // ErrTimeout timeout occured while waiting for an answer. ErrTimeout )
func (Err) WithMessage ¶
WithMessage returns an error with the specified message.
func (Err) WithMessageAndError ¶
WithMessageAndError wraps an existing error and adds a message.
func (Err) WithWrappedError ¶
WithWrappedError wraps an existing error an returns a new error.
Click to show internal directories.
Click to hide internal directories.