#include "dx_platform.h"
#include <stdexcept>
#include <iomanip>
#include <chrono>
#include <mutex>
#include <sstream>
|
| #define | __dx_catchall(inject, ...) |
| |
| #define | dx_catchall(inject, ...) |
| |
| #define | dx_catchall_handler(object, inject, ...) |
| |
| #define | dx_catchall_handler_or_rethrow(object, test, inject, ...) |
| |
| #define | dx_catchall_rethrow(inject, ...) |
| |
| #define | dx_pass(test, ...) |
| |
| #define | dx_pass_strict(test, ...) |
| |
◆ __dx_catchall
| #define __dx_catchall |
( |
| inject, |
|
|
| ... ) |
Value:
try{\
&__dx_exception,\
__FILE__, __LINE__,\
##__VA_ARGS__};\
inject\
}catch(...){}\
}catch(const std::exception& __std_exception){\
try{\
dx::exception exception{\
dx::unknown,\
__std_exception.what(),\
__PRETTY_FUNCTION__,\
__FILE__, __LINE__,\
##__VA_ARGS__};\
inject\
}catch(...){}\
}catch(...){\
try{\
dx::exception exception{\
dx::unknown,\
__PRETTY_FUNCTION__,\
__FILE__, __LINE__,\
##__VA_ARGS__};\
inject\
}catch(...){}\
}
Definition dx_exception.h:154
os_result error
Definition dx_exception.h:157
◆ dx_catchall
| #define dx_catchall |
( |
| inject, |
|
|
| ... ) |
Value:
std::endl;, ##__VA_ARGS__)
#define __dx_catchall(inject,...)
Definition dx_exception.h:59
◆ dx_catchall_handler
| #define dx_catchall_handler |
( |
| object, |
|
|
| inject, |
|
|
| ... ) |
◆ dx_catchall_handler_or_rethrow
| #define dx_catchall_handler_or_rethrow |
( |
| object, |
|
|
| test, |
|
|
| inject, |
|
|
| ... ) |
Value:
inject\
}else,\
##__VA_ARGS__)\
#define dx_catchall_rethrow(inject,...)
Definition dx_exception.h:98
◆ dx_catchall_rethrow
| #define dx_catchall_rethrow |
( |
| inject, |
|
|
| ... ) |
◆ dx_pass
| #define dx_pass |
( |
| test, |
|
|
| ... ) |
Value: {\
dx::halt();\
DX_STRINGIFY(test),\
__dx_test_status,\
__FILE__, __LINE__,\
##__VA_ARGS__};}}
::mach_error_t os_result
Definition macOS/dx_platform.h:167
bool os_error(os_result result) noexcept
Definition macOS/dx_platform.h:190
◆ dx_pass_strict
| #define dx_pass_strict |
( |
| test, |
|
|
| ... ) |
Value: {\
if (__dx_test_status){\
dx::halt();\
DX_STRINGIFY(test),\
__dx_test_status,\
__FILE__, __LINE__,\
##__VA_ARGS__};}}