dao::script::CallResult
struct
The outcome of a call by name.
Declared in dao/ScriptCall.h.
Functions
operator bool()
operator bool() const
Returns whether the call succeeded.
Fields
| Field | Type | |
|---|---|---|
error |
std::string |
what went wrong, for a log; empty on success |
ok |
bool = false |
true if the command ran and its return value was read |
value |
Value |
the return value, of the command’s return type; Void if it returns nothing |