SafetyHook
|
Error type for VmtHook. More...
#include <vmt_hook.hpp>
Public Types | |
enum | : uint8_t { BAD_ALLOCATION } |
The type of error. More... | |
Static Public Member Functions | |
static Error | bad_allocation (Allocator::Error err) |
Create a BAD_ALLOCATION error. | |
Public Attributes | ||
enum safetyhook::VmtHook::Error:: { ... } | type | |
The type of error. | ||
union { | ||
Allocator::Error allocator_error | ||
Allocator error information. | ||
}; | ||
Extra error information. | ||
anonymous enum : uint8_t |
|
inlinestaticnodiscard |
Create a BAD_ALLOCATION error.
err | The Allocator::Error that failed. |