Gopher2600/errors/categories.go
steve 23bd591752 o gopher2600
- tidy up of command line parsing

o regression testing
    - added regression package
    - implemented simple database to facilitate regression tests
    - uses DigestTV
2020-01-05 18:58:30 +00:00

48 lines
731 B
Go

package errors
// list of error numbers
const (
// Debugger
InputEmpty Errno = iota
CommandError
SymbolsFileCannotOpen
SymbolsFileError
SymbolUnknown
ScriptFileCannotOpen
ScriptFileError
InvalidTarget
// Regression
RegressionEntryExists
RegressionEntryCollision
RegressionEntryDoesNotExist
RegressionEntryFail
// CPU
UnimplementedInstruction
NullInstruction
ProgramCounterCycled
InvalidOperationMidInstruction
// Memory
UnservicedChipWrite
UnknownRegisterName
UnreadableAddress
UnwritableAddress
UnrecognisedAddress
UnPokeableAddress
// Cartridges
CartridgeFileError
CartridgeUnsupported
CartridgeMissing
// TV
UnknownTVRequest
SDLTV
ImageTV
DigestTV
// Peripherals
NoControllersFound
)