21 inline operator bool() {
return is_ok(); }
bool is_ok() const
Returns true if no errors occurs.
Status(const lb_error_t *err)
int64_t code() const
Returns the error code.
bool is_err() const
Returns true if an errors occurs.
Status(Status &&status) noexcept
const char * message() const
Returns the error message.
Definition: async_result.hpp:7
struct lb_error_t lb_error_t
Definition: status.hpp:5