Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParsingID = errors.New("invalid id") ErrDb = errors.New("unexpected database error") ErrContentTypeNotFound = errors.New("content type not found") ErrContentNotFound = errors.New("content not found") ErrEmailMissing = errors.New("email is missing") ErrInvalidPassword = errors.New("invalid password") ErrInvalidEmail = errors.New("invalid email") ErrServerErr = errors.New("internal server error") ErrTokenErr = errors.New("can't generate token") ErrContentWithStatusOk = errors.New("there is no content found") ErrContentParams = errors.New("parameter value is not valid") ErrUnexpected = errors.New("unexpected error") ErrInvalidToken = errors.New("invalid token") ErrColumnName = errors.New("no specific column name was sent") ErrColumnNameMoreThanOne = errors.New("more than one column name specified") ErrColNotFound = errors.New("column not found") ErrNoContentTypeName = errors.New("there is no content type name") ErrDuplicateValue = errors.New("this value already exists") ErrNoRolesFound = errors.New("no types found") ErrNoRowsFound = errors.New("no values found") ErrRecordNotFound = errors.New("record not found") ErrInvalidVerificationCode = errors.New("invalid verification code") )
here all errors are defined
Functions ¶
This section is empty.
Types ¶
type ErrResponse ¶
type ErrResponse struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.