Co-authored-by: andrey1s <andrey@4devs.pro> Reviewed-on: #1 Co-authored-by: andrey <andrey@4devs.io> Co-committed-by: andrey <andrey@4devs.io>
17 lines
441 B
Go
17 lines
441 B
Go
package errs
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
ErrNotFound = errors.New("not found")
|
|
ErrNoArgs = errors.New("no arguments expected")
|
|
ErrToManyArgs = errors.New("too many arguments")
|
|
ErrUnexpectedType = errors.New("unexpected type")
|
|
ErrRequired = errors.New("is required")
|
|
ErrAppend = errors.New("failed append")
|
|
ErrInvalidName = errors.New("invalid name")
|
|
ErrWrongType = errors.New("wrong type")
|
|
)
|