Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrTypeRequestParams = "request_params_error" ErrTypeApplication = "application_error" ErrTypeAlreadyExists = "already_exists_error" ErrTypeNotExists = "not_exists_error" ErrTypeIncorrectPassword = "incorrect_password_error" ErrTypeDomainPrefixMismatch = "domain_prefix_mismatch_error" ErrTypeDisabled = "disabled_error" ErrTypeRequestTimeout = "request_timeout_error" )
Variables ¶
View Source
var ( ErrPasswordIncorrect = errors.New("incorrect password") ErrNotExistsErr = errors.New("not exists") )
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func NewAlreadyExistsError ¶
NewAlreadyExistsError returns an already exists error
func NewNotExistsError ¶
NewNotExistsError returns a not exists error
func NewParamsError ¶
NewParamsError returns a request params error
Click to show internal directories.
Click to hide internal directories.