gmessages/libgm/util/errors.go

12 lines
202 B
Go
Raw Normal View History

2023-06-30 09:54:08 +00:00
package util
import "fmt"
type InstructionNotFound struct {
Opcode int64
}
func (e *InstructionNotFound) Error() string {
return fmt.Sprintf("Could not find instruction for opcode %d", e.Opcode)
2023-06-30 09:55:49 +00:00
}