hermez-node/common/errors.go
common/errors.goRaw
1package common
2
3import "errors"
4
5// ErrNotInFF is used when the *big.Int does not fit inside the Finite Field
6var ErrNotInFF = errors.New("BigInt not inside the Finite Field")
7
8// ErrNumOverflow is used when a given value overflows the maximum capacity of the parameter
9var ErrNumOverflow = errors.New("Value overflows the type")
10
11// ErrBatchQueueEmpty is used when the coordinator.BatchQueue.Pop() is called and has no elements
12var ErrBatchQueueEmpty = errors.New("BatchQueue empty")