Documentation ¶
Index ¶
- Variables
- 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 Get(ctx context.Context) []string
- func Init(ctx context.Context) context.Context
- func Wrap(ctx context.Context, err error, errs ...error) 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") ErrInvalidMessageType = errors.New("invalid message type") ErrInvalidAnimeID = errors.New("invalid anime id") ErrAnimeNotFound = errors.New("anime not found") ErrDataStillNew = errors.New("data is still new") )
Error list.
Functions ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.