Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrDuplicateEmail ¶
type ErrDuplicateEmail struct {
Email string
}
ErrDuplicateEmail is raised when an account creation failed because of a duplicate email.
func (ErrDuplicateEmail) Error ¶
func (e ErrDuplicateEmail) Error() string
Error implementation for ErrDuplicateEmail.
type ErrEmptyNamespace ¶
type ErrEmptyNamespace struct{}
ErrEmptyNamespace is raised when config namespace is empty.
func (ErrEmptyNamespace) Error ¶
func (e ErrEmptyNamespace) Error() string
Error implementation for ErrEmptyNamespace.
type ErrInternalLogic ¶
type ErrInternalLogic struct {
Logic string
}
ErrInternalLogic is raised when an internal logic is not respected. Don't use it for everything plz.
func (ErrInternalLogic) Error ¶
func (e ErrInternalLogic) Error() string
Error implementation for ErrInternalLogic.
type ErrInvalidCredentials ¶
type ErrInvalidCredentials struct{}
ErrInvalidCredentials is raised when invalid credentials are provided.
func (ErrInvalidCredentials) Error ¶
func (e ErrInvalidCredentials) Error() string
Error implementation for ErrInvalidCredentials.
type ErrInvalidKey ¶
ErrInvalidKey is raised when an input field is not valid.
func (ErrInvalidKey) Error ¶
func (e ErrInvalidKey) Error() string
Error implementation for ErrInvalidRequest.
type ErrInvalidNumericalRange ¶
ErrInvalidNumericalRange is raised when a numerical value is out of range.
func (ErrInvalidNumericalRange) Error ¶
func (e ErrInvalidNumericalRange) Error() string
Error implementation for ErrInvalidNumericalRange.
type ErrInvalidToken ¶
type ErrInvalidToken struct{}
ErrInvalidToken is raised when invalid token is provided.
func (ErrInvalidToken) Error ¶
func (e ErrInvalidToken) Error() string
Error implementation for ErrInvalidToken.
type ErrInvalidType ¶
ErrInvalidType is raised when config value is wrong type.
func (ErrInvalidType) Error ¶
func (e ErrInvalidType) Error() string
Error implementation for ErrInvalidType.
type ErrMissingKey ¶
type ErrMissingKey struct {
Key string
}
ErrMissingKey is raised when a config key is missing.
func (ErrMissingKey) Error ¶
func (e ErrMissingKey) Error() string
Error implementation for ErrMissingKey.
type ErrNotFound ¶
ErrNotFound is raised when an object is not found.
func (ErrNotFound) Error ¶
func (e ErrNotFound) Error() string
Error implementation for ErrNotFound.
type ErrNullRequest ¶
type ErrNullRequest struct{}
ErrNullRequest is raised when a request is null and shouldn't.
func (ErrNullRequest) Error ¶
func (e ErrNullRequest) Error() string
Error implementation for ErrNullRequest.