commands::CommandResult
commands::CommandResult
Result of executing a command.
#include <CommandResult.hpp>
Public Functions
| Name | |
|---|---|
| CommandResult | ok(std::vector< std::string > keys ={}) |
| CommandResult | error(std::string msg) |
Public Attributes
| Name | |
|---|---|
| bool | success |
| std::string | error_message |
| std::vector< std::string > | affected_keys Keys of data objects that were created or modified. |
Public Functions Documentation
function ok
static inline CommandResult ok(
std::vector< std::string > keys ={}
)function error
static inline CommandResult error(
std::string msg
)Public Attributes Documentation
variable success
bool success = false;variable error_message
std::string error_message;variable affected_keys
std::vector< std::string > affected_keys;Keys of data objects that were created or modified.
Updated on 2026-11-13 at 20:25:42 +0000