errs

package
v0.0.0-...-1911959 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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")
	ErrUnauthorized            = errors.New("you are unauthorized")
	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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL