Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶ added in v0.0.14
type ApiError int
const ( UnexpectedError ApiError = iota AccessDenied NotImplemented InvalidRequest DatabaseError InvalidObjectId NotEnoughtPermissions InvalidEmail ShortEmail NoAtEmail NoDotEmail NoAlphanumericPassword NoMayusMinusPassword InvalidToken CannotCreateValidationCode InvalidValidationCode InvalidPassword ShortPassword NoSpecialCharactersPassword ShortName LongName ShortDescription LongDescription UpdateParametersEqual )
0 --> 999 | GENERAL ERRORS
const ( UserAlreadyExists ApiError = iota + 1000 UserNotupdated UserNotFound UserNotDeleted EmptyUsername EmptyUserPassword EmptyUserEmail UserAlreadyValidated UserNotAuthorized )
1000 --> 1999 | USER ERRORS
const ( EmptyProjectName ApiError = iota + 2000 EmptyProjectDescription EmptyProjectOwner ProjectAlreadyExists ProjectNotFound )
2000 --> 2999 | PROJECT ERRORS
Click to show internal directories.
Click to hide internal directories.