Exception thrown by a Future or Promise object during various errors.
More...
#include <quantum_future_state.h>
Exception thrown by a Future or Promise object during various errors.
◆ FutureException()
Bloomberg::quantum::FutureException::FutureException |
( |
FutureState |
error | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | error | Enum representing the error state. |
◆ what()
const char* Bloomberg::quantum::FutureException::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Get the encapsulated error message from the exception object.
- Returns
- Error message.