arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
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")