apperr

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 2 Imported by: 0

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")
)

Functions

func ErrorLimitTooLarge added in v0.1.3

func ErrorLimitTooLarge(max int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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