nix-amer/internal/instruction/errors.go

13 lines
395 B
Go
Raw Normal View History

package instruction
import (
"errors"
)
2018-11-11 18:01:00 +00:00
// ErrInvalidSyntax is raised when encountering an invalid token
var ErrInvalidSyntax = errors.New("invalid instruction format")
2018-11-11 18:01:00 +00:00
// ErrUnknownInstruction is raised when encountering an unknown instruction
// it can mean that you're not using the right version or that you've misspelled it
var ErrUnknownInstruction = errors.New("unknown instruction")