Gopher2600/errors/categories.go
steve b9a3d0b456 o debugger
- debugger now handles CTRL-Z signals for terminal that have been
	put into raw mode; like the colorterm package
    - CTRL-C now asks for confirmation
    - added EXIT command as an alternative to QUIT

o colorterm
    - CTRL-C clears input line if anything has been typed
    - input buffer checked for length before writing
2020-01-05 18:58:35 +00:00

84 lines
1.1 KiB
Go

package errors
// list of error numbers
const (
FatalError Errno = iota
// sentinal
UserInterrupt
UserSuspend
ScriptEnd
PowerOff
PeriphUnplugged
TVOutOfSpec
// program modes
PlayError
DebuggerError
DisasmError
FPSError
// debugger
ParserError
ValidationError
InvalidTarget
CommandError
TerminalError
// script
ScriptScribeError
ScriptFileUnavailable
ScriptFileError
ScriptRunError
// recorder
RecordingError
PlaybackError
PlaybackHashError
// regression
RegressionDBError
RegressionFail
// symbols
SymbolsFileUnavailable
SymbolsFileError
SymbolUnknown
// vcs
VCSError
// cpu
UnimplementedInstruction
InvalidOpcode
InvalidResult
ProgramCounterCycled
InvalidOperationMidInstruction
// memory
MemoryError
UnreadableAddress
UnwritableAddress
UnpokeableAddress
UnrecognisedAddress
// cartridges
CartridgeFileError
CartridgeFileUnavailable
CartridgeError
CartridgeEjected
// peripherals
PeriphHardwareUnavailable
UnknownPeriphEvent
// tv
UnknownTVRequest
BasicTelevision
ImageTV
DigestTV
// gui
UnknownGUIRequest
SDL
)