xgo/objects/errors.go

10 lines
298 B
Go
Raw Normal View History

2019-01-09 10:17:42 +03:00
package objects
import "errors"
// ErrInvalidOperator represents an error for invalid operator usage.
2019-01-09 10:17:42 +03:00
var ErrInvalidOperator = errors.New("invalid operator")
2019-01-17 12:56:05 +03:00
// ErrWrongNumArguments represents a wrong number of arguments error.
var ErrWrongNumArguments = errors.New("wrong number of arguments")