Add public method to get state as a human readable string from an AsyncRPCOperation.
This commit is contained in:
@@ -71,6 +71,8 @@ public:
|
||||
Value getError() const;
|
||||
|
||||
Value getResult() const;
|
||||
|
||||
std::string getStateAsString() const;
|
||||
|
||||
int getErrorCode() const {
|
||||
return errorCode;
|
||||
|
||||
Reference in New Issue
Block a user