Documentation ¶
Index ¶
- Variables
- func ErrDatetimeField(str, value string) error
- func ErrGTEField(str, value string) error
- func ErrGTField(str, value string) error
- func ErrLTEField(str, value string) error
- func ErrLTField(str, value string) error
- func ErrOneOfField(str, value string) error
- func ErrRequiredField(str string) error
- func ErrUrlField(str string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternalDB = errors.New("internal database error") ErrInternalCache = errors.New("internal cache error") ErrInternalServer = errors.New("internal server error") ErrInvalidDBFormat = errors.New("invalid db address") ErrInvalidRequestFormat = errors.New("invalid request format") ErrInvalidRequestData = errors.New("invalid request data") ErrInvalidMessageType = errors.New("invalid message type") ErrInvalidToken = errors.New("invalid token or already expired") ErrAdminOnly = errors.New("admin only") ErrWikiaPageNotFound = errors.New("wikia page not found") ErrInvalidID = errors.New("invalid id") ErrInvalidDate = errors.New("invalid date") ErrVtuberNotFound = errors.New("vtuber not found") ErrAgencyNotFound = errors.New("agency not found") ErrChannelNotFound = errors.New("channel not found") ErrUserNotFound = errors.New("user not found") ErrTierNotFound = errors.New("tier list not found") ErrUpdateNotAllowed = errors.New("update not allowed") )
Error list.
Functions ¶
func ErrDatetimeField ¶ added in v0.27.0
ErrDatetimeField is error for datetime field.
func ErrGTEField ¶
ErrGTEField is error for greater than or equal field.
func ErrGTField ¶
ErrGTField is error for greater than field.
func ErrLTEField ¶
ErrLTEField is error for lower than or equal field.
func ErrLTField ¶
ErrLTField is error for lower than field.
func ErrOneOfField ¶
ErrOneOfField is error for oneof field.
func ErrRequiredField ¶
ErrRequiredField is error for missing field.
func ErrUrlField ¶ added in v0.20.0
ErrUrlField is error for url field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.