Error type for MidHook.
More...
#include <mid_hook.hpp>
|
enum | : uint8_t { BAD_ALLOCATION
, BAD_INLINE_HOOK
} |
| The type of error.
|
◆ bad_allocation()
Error safetyhook::MidHook::Error::bad_allocation |
( |
Allocator::Error | err | ) |
|
|
inlinestaticnodiscard |
Create a BAD_ALLOCATION error.
- Parameters
-
err | The Allocator::Error that failed. |
- Returns
- The new BAD_ALLOCATION error.
◆ bad_inline_hook()
Create a BAD_INLINE_HOOK error.
- Parameters
-
- Returns
- The new BAD_INLINE_HOOK error.
The documentation for this struct was generated from the following file: