Parameter to AsyncTreePutCallback, which is passed to Tree::putAsync().
More...
#include <objectbox.hpp>
|
bool | isSuccess () |
|
void | throwException () |
| Alternative to checking error codes: throw an exception instead. Note that this will always throw, so you should at least check for a successful outcome, e.g. via isSuccess(). More...
|
|
Parameter to AsyncTreePutCallback, which is passed to Tree::putAsync().
◆ isSuccess()
bool obx::AsyncTreePutResult::isSuccess |
( |
| ) |
|
|
inline |
- Returns
- true if the operation was successful.
◆ throwException()
void obx::AsyncTreePutResult::throwException |
( |
| ) |
|
|
inline |
Alternative to checking error codes: throw an exception instead. Note that this will always throw, so you should at least check for a successful outcome, e.g. via isSuccess().
◆ errorMessage
std::string obx::AsyncTreePutResult::errorMessage |
Non-empty if an error occurred (result is "Undefined")
◆ id
obx_id obx::AsyncTreePutResult::id |
ID of the leaf that was put if operation succeeded.
◆ result
Non-exceptional results or "Undefined"; in the latter case obx_err has more details.
◆ status
obx_err obx::AsyncTreePutResult::status |
More detailed error code if operation did not succeed.