Documentation
¶
Overview ¶
Package apperr contains error constants and functions for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorInvalidColumn = errors.New("invalid column name") ErrorInvalidDriver = errors.New("invalid driver provided") ErrorEmptyTableName = errors.New("table name cannot be empty") ErrorInvalidTableName = errors.New("invalid table name") ErrorInvalidPagination = errors.New("invalid limit or offset, limit must be > 0 and offset must be >= 0") ErrorNoValueProvided = errors.New("no value provided") ErrorNoValuesProvided = errors.New("no values provided") ErrorDuplicateColumn = errors.New("duplicate column name") ErrorInvalidJSON = errors.New("invalid JSON") ErrorInvalidPlaceHolderIndex = errors.New("invalid placeholder provided! should be grather than 0") ErrorNotSameRowColsSize = errors.New("cols and rows aren't same in length") ErrorNoRowsInArgs = errors.New("no rows in args") ErrorNoColumnsInArgs = errors.New("no colums in args") ErrorInvalidAutoIncrement = errors.New("auto-increment can only be set on primary key columns") ErrorNoConfigsFound = errors.New("no configs found") ErrorInvalidJSONFile = errors.New("invlaid json file! fix the config.json") )
Functions ¶
func ErrorLimitTooLarge ¶ added in v0.1.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.