Gopher2600/errors/categories.go
steve e18f17ca37 o regression
- added progress meter for playback regression types

o errors
    - added FatalError type. intended to be used instead of panic()

o limiter
    - created limiter package
    - moved sdl fpsLimiter to new package
    - added HasWaited() function in additio to Wait() function
2020-01-05 18:58:33 +00:00

83 lines
1.1 KiB
Go

package errors
// list of error numbers
const (
FatalError Errno = iota
// sentinal
UserInterrupt
ScriptEnd
PowerOff
PeriphUnplugged
OutOfSpec
// 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
CartridgeMissing
// peripherals
PeriphHardwareUnavailable
UnknownPeriphEvent
// tv
UnknownTVRequest
BasicTelevision
ImageTV
DigestTV
// gui
UnknownGUIRequest
SDL
)