|
ORE Studio 0.0.4
|
Outcome of a completed ORE import execution. More...
#include <ore_import_result.hpp>

Public Attributes | |
| bool | success = false |
| True when currencies, portfolios, books, and trades were all saved. | |
| std::string | error |
| Fatal error message when success is false. | |
| int | currencies = 0 |
| int | portfolios = 0 |
| int | books = 0 |
| int | trades = 0 |
| int | instruments = 0 |
| std::vector< ore_instrument_error > | instrument_errors |
| One entry per instrument save failure, in save order. | |
Outcome of a completed ORE import execution.
Failures for currencies, portfolios, books, and trades are fatal: success is false and error carries the reason. Instrument save failures are non-fatal: success may still be true while instrument_errors is non-empty.
| bool success = false |
True when currencies, portfolios, books, and trades were all saved.
Instrument failures do not set this to false; check instrument_errors.
| std::vector<ore_instrument_error> instrument_errors |
One entry per instrument save failure, in save order.
Non-empty even when success is true (instrument failures are non-fatal).