1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-27 22:08:15 +02:00
Files
ferret/pkg/compiler/errors.go
Tim Voronov bd6463fa29 Bench (#683)
* Extended public API

* Refactored event loop

* Refactored parser

* Fixed unit tests

* Added --dry-run opt

* Added total alloc

* Added profiler

* Fixed driver registration
2021-10-16 17:24:54 -04:00

14 lines
450 B
Go

package compiler
import "github.com/pkg/errors"
var (
ErrEmptyQuery = errors.New("empty query")
ErrNotImplemented = errors.New("not implemented")
ErrVariableNotFound = errors.New("variable not found")
ErrVariableNotUnique = errors.New("variable is already defined")
ErrInvalidToken = errors.New("invalid token")
ErrUnexpectedToken = errors.New("unexpected token")
ErrInvalidDataSource = errors.New("invalid data source")
)