Appearance
CoreError
cpp
#include <Infrastructure/CoreError.h>cpp
struct CoreErrorDefined in Infrastructure/CoreError.h:18
Error thrown if a request does not match the state of the emulator.
Public Methods
| Return | Name | Description |
|---|---|---|
const char * | errstr virtual const inline noexcept override | Returns the name of the error code. |
CoreError explicit | Creates an error with an error code and a descriptive string. | |
CoreError inline explicit | Creates an error with an error code and a descriptive string. | |
CoreError inline explicit | Creates an error with an error code and a file path. | |
CoreError inline explicit | Creates an error with an error code and a number. | |
CoreError inline explicit | Creates an error with an error code. |
errstr
virtual const inline noexcept override
cpp
virtual inline const char * errstr() const noexcept overrideDefined in Infrastructure/CoreError.h:73
Returns the name of the error code.
Reimplements
CoreError
explicit
cpp
explicit CoreError(long fault, const string & s)Defined in Infrastructure/CoreError.h:130
Creates an error with an error code and a descriptive string.
CoreError
inline explicit
cpp
inline explicit CoreError(long fault, const char * s)Defined in Infrastructure/CoreError.h:132
Creates an error with an error code and a descriptive string.
CoreError
inline explicit
cpp
inline explicit CoreError(long fault, const fs::path & p)Defined in Infrastructure/CoreError.h:134
Creates an error with an error code and a file path.
CoreError
inline explicit
cpp
inline explicit CoreError(long fault, std::integral auto v)Defined in Infrastructure/CoreError.h:136
Creates an error with an error code and a number.
CoreError
inline explicit
cpp
inline explicit CoreError(long fault)Defined in Infrastructure/CoreError.h:138
Creates an error with an error code.
Public Static Attributes
| Return | Name | Description |
|---|---|---|
long | OK static constexpr | No error. |
long | UNKNOWN static constexpr | Unclassified error condition. |
long | LAUNCH_FAILED static constexpr | Launching the emulator thread failed. |
long | NOT_LAUNCHED static constexpr | The emulator thread is not running. |
long | ALREADY_LAUNCHED static constexpr | The emulator thread has been launched already. |
long | POWERED_OFF static constexpr | The emulator is powered off. |
long | POWERED_ON static constexpr | The emulator is powered on. |
long | RUNNING static constexpr | The emulator is running. |
long | OPT_UNSUPPORTED static constexpr | Unsupported configuration option. |
long | OPT_INV_ARG static constexpr | Invalid argument. |
long | OPT_INV_ID static constexpr | Invalid component id. |
long | OPT_LOCKED static constexpr | The option is temporarily locked. |
long | INVALID_KEY static constexpr | Invalid property key. |
long | SYNTAX static constexpr | Syntax error. |
long | CPU_UNSUPPORTED static constexpr | Unsupported CPU model. |
long | GUARD_NOT_FOUND static constexpr | Guard is not set. |
long | GUARD_ALREADY_SET static constexpr | Guard is already set. |
long | BP_NOT_FOUND static constexpr | Breakpoint is not set (DEPRECATED). |
long | BP_ALREADY_SET static constexpr | Breakpoint is already set (DEPRECATED). |
long | WP_NOT_FOUND static constexpr | Watchpoint is not set (DEPRECATED). |
long | WP_ALREADY_SET static constexpr | Watchpoint is already set (DEPRECATED). |
long | CP_NOT_FOUND static constexpr | Catchpoint is not set (DEPRECATED). |
long | CP_ALREADY_SET static constexpr | Catchpoint is already set (DEPRECATED). |
long | OUT_OF_MEMORY static constexpr | Out of memory. |
long | CHIP_RAM_MISSING static constexpr | No Chip RAM is installed. |
long | CHIP_RAM_LIMIT static constexpr | The Agnus revision cannot address the selected amount of Chip RAM. |
long | AROS_RAM_LIMIT static constexpr | The Aros Kickstart needs more memory than installed. |
long | ROM_MISSING static constexpr | No Kickstart Rom is installed. |
long | AROS_NO_EXTROM static constexpr | The Aros Kickstart needs an Extension Rom, but none is installed. |
long | HDC_INIT static constexpr | A hard drive could not be initialized. |
long | REG_READ_ONLY static constexpr | The register is read-only. |
long | REG_WRITE_ONLY static constexpr | The register is write-only. |
long | REG_UNUSED static constexpr | The register is unused. |
long | ADDR_UNALIGNED static constexpr | The address is not aligned. |
long | OSDB static constexpr | The OS debugger reported an error. |
long | HUNK_BAD_COOKIE static constexpr | The hunk file has an invalid magic cookie. |
long | HUNK_BAD_HEADER static constexpr | The hunk file has a bad header. |
long | HUNK_NO_SECTIONS static constexpr | The hunk file contains no hunks. |
long | HUNK_UNSUPPORTED static constexpr | The hunk file contains an unsupported hunk. |
long | HUNK_CORRUPTED static constexpr | The hunk structure is corrupted. |
OK
static constexpr
cpp
long OK = 0Defined in Infrastructure/CoreError.h:20
No error.
UNKNOWN
static constexpr
cpp
long UNKNOWN = 1Defined in Infrastructure/CoreError.h:21
Unclassified error condition.
LAUNCH_FAILED
static constexpr
cpp
long LAUNCH_FAILED = 100Defined in Infrastructure/CoreError.h:24
Launching the emulator thread failed.
NOT_LAUNCHED
static constexpr
cpp
long NOT_LAUNCHED = 101Defined in Infrastructure/CoreError.h:25
The emulator thread is not running.
ALREADY_LAUNCHED
static constexpr
cpp
long ALREADY_LAUNCHED = 102Defined in Infrastructure/CoreError.h:26
The emulator thread has been launched already.
POWERED_OFF
static constexpr
cpp
long POWERED_OFF = 103Defined in Infrastructure/CoreError.h:27
The emulator is powered off.
POWERED_ON
static constexpr
cpp
long POWERED_ON = 104Defined in Infrastructure/CoreError.h:28
The emulator is powered on.
RUNNING
static constexpr
cpp
long RUNNING = 105Defined in Infrastructure/CoreError.h:29
The emulator is running.
OPT_UNSUPPORTED
static constexpr
cpp
long OPT_UNSUPPORTED = 200Defined in Infrastructure/CoreError.h:32
Unsupported configuration option.
OPT_INV_ARG
static constexpr
cpp
long OPT_INV_ARG = 201Defined in Infrastructure/CoreError.h:33
Invalid argument.
OPT_INV_ID
static constexpr
cpp
long OPT_INV_ID = 202Defined in Infrastructure/CoreError.h:34
Invalid component id.
OPT_LOCKED
static constexpr
cpp
long OPT_LOCKED = 203Defined in Infrastructure/CoreError.h:35
The option is temporarily locked.
INVALID_KEY
static constexpr
cpp
long INVALID_KEY = 300Defined in Infrastructure/CoreError.h:38
Invalid property key.
SYNTAX
static constexpr
cpp
long SYNTAX = 301Defined in Infrastructure/CoreError.h:39
Syntax error.
CPU_UNSUPPORTED
static constexpr
cpp
long CPU_UNSUPPORTED = 400Defined in Infrastructure/CoreError.h:42
Unsupported CPU model.
GUARD_NOT_FOUND
static constexpr
cpp
long GUARD_NOT_FOUND = 401Defined in Infrastructure/CoreError.h:43
Guard is not set.
GUARD_ALREADY_SET
static constexpr
cpp
long GUARD_ALREADY_SET = 402Defined in Infrastructure/CoreError.h:44
Guard is already set.
BP_NOT_FOUND
static constexpr
cpp
long BP_NOT_FOUND = 403Defined in Infrastructure/CoreError.h:45
Breakpoint is not set (DEPRECATED).
BP_ALREADY_SET
static constexpr
cpp
long BP_ALREADY_SET = 404Defined in Infrastructure/CoreError.h:46
Breakpoint is already set (DEPRECATED).
WP_NOT_FOUND
static constexpr
cpp
long WP_NOT_FOUND = 405Defined in Infrastructure/CoreError.h:47
Watchpoint is not set (DEPRECATED).
WP_ALREADY_SET
static constexpr
cpp
long WP_ALREADY_SET = 406Defined in Infrastructure/CoreError.h:48
Watchpoint is already set (DEPRECATED).
CP_NOT_FOUND
static constexpr
cpp
long CP_NOT_FOUND = 407Defined in Infrastructure/CoreError.h:49
Catchpoint is not set (DEPRECATED).
CP_ALREADY_SET
static constexpr
cpp
long CP_ALREADY_SET = 408Defined in Infrastructure/CoreError.h:50
Catchpoint is already set (DEPRECATED).
OUT_OF_MEMORY
static constexpr
cpp
long OUT_OF_MEMORY = 500Defined in Infrastructure/CoreError.h:53
Out of memory.
CHIP_RAM_MISSING
static constexpr
cpp
long CHIP_RAM_MISSING = 501Defined in Infrastructure/CoreError.h:54
No Chip RAM is installed.
CHIP_RAM_LIMIT
static constexpr
cpp
long CHIP_RAM_LIMIT = 502Defined in Infrastructure/CoreError.h:55
The Agnus revision cannot address the selected amount of Chip RAM.
AROS_RAM_LIMIT
static constexpr
cpp
long AROS_RAM_LIMIT = 503Defined in Infrastructure/CoreError.h:56
The Aros Kickstart needs more memory than installed.
ROM_MISSING
static constexpr
cpp
long ROM_MISSING = 504Defined in Infrastructure/CoreError.h:57
No Kickstart Rom is installed.
AROS_NO_EXTROM
static constexpr
cpp
long AROS_NO_EXTROM = 505Defined in Infrastructure/CoreError.h:58
The Aros Kickstart needs an Extension Rom, but none is installed.
HDC_INIT
static constexpr
cpp
long HDC_INIT = 600Defined in Infrastructure/CoreError.h:60
A hard drive could not be initialized.
REG_READ_ONLY
static constexpr
cpp
long REG_READ_ONLY = 700Defined in Infrastructure/CoreError.h:62
The register is read-only.
REG_WRITE_ONLY
static constexpr
cpp
long REG_WRITE_ONLY = 701Defined in Infrastructure/CoreError.h:63
The register is write-only.
REG_UNUSED
static constexpr
cpp
long REG_UNUSED = 702Defined in Infrastructure/CoreError.h:64
The register is unused.
ADDR_UNALIGNED
static constexpr
cpp
long ADDR_UNALIGNED = 703Defined in Infrastructure/CoreError.h:65
The address is not aligned.
OSDB
static constexpr
cpp
long OSDB = 800Defined in Infrastructure/CoreError.h:67
The OS debugger reported an error.
HUNK_BAD_COOKIE
static constexpr
cpp
long HUNK_BAD_COOKIE = 801Defined in Infrastructure/CoreError.h:68
The hunk file has an invalid magic cookie.
HUNK_BAD_HEADER
static constexpr
cpp
long HUNK_BAD_HEADER = 802Defined in Infrastructure/CoreError.h:69
The hunk file has a bad header.
HUNK_NO_SECTIONS
static constexpr
cpp
long HUNK_NO_SECTIONS = 803Defined in Infrastructure/CoreError.h:70
The hunk file contains no hunks.
HUNK_UNSUPPORTED
static constexpr
cpp
long HUNK_UNSUPPORTED = 804Defined in Infrastructure/CoreError.h:71
The hunk file contains an unsupported hunk.
HUNK_CORRUPTED
static constexpr
cpp
long HUNK_CORRUPTED = 805Defined in Infrastructure/CoreError.h:72
The hunk structure is corrupted.