Result of a runtime operation (step, run, etc.).
More...
#include <runtimeService.h>
|
|
bool | halted = false |
| | True if program has terminated.
|
|
bool | needsInput = false |
| | True if waiting for user input.
|
|
std::string | inputPrompt |
| | Prompt to show for input.
|
|
std::string | output |
| | Output produced by this step.
|
|
bool | ok |
| | True if the operation succeeded.
|
|
std::vector< nsbaci::Error > | errors |
| | Errors encountered (empty if ok is true).
|
Result of a runtime operation (step, run, etc.).
◆ RuntimeResult() [1/2]
| nsbaci::services::RuntimeResult::RuntimeResult |
( |
std::vector< nsbaci::Error > | errs | ) |
|
|
inlineexplicit |
Constructs a result from a vector of errors.
- Parameters
-
| errs | Vector of runtime errors. |
◆ RuntimeResult() [2/2]
| nsbaci::services::RuntimeResult::RuntimeResult |
( |
nsbaci::Error | error | ) |
|
|
inlineexplicit |
Constructs a failed result from a single error.
- Parameters
-
| error | The runtime error that occurred. |
The documentation for this struct was generated from the following file: