2018-11-08 12:41:07 +00:00
|
|
|
package instruction
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2018-11-11 18:01:00 +00:00
|
|
|
// ErrInvalidSyntax is raised when encountering an invalid token
|
2018-11-08 12:41:07 +00:00
|
|
|
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
|
2018-11-08 12:41:07 +00:00
|
|
|
var ErrUnknownInstruction = errors.New("unknown instruction")
|