|
Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
|
Outcome of an async rule invocation. More...
#include <async_validator.hpp>
Static Public Member Functions | |
| static AsyncRuleResult | passed () |
| static AsyncRuleResult | failed (::aria::ValidationKey key, std::string message) |
| Convenience: build a single-error failure under the given key. | |
Public Attributes | |
| std::vector<::aria::Error > | errors |
| Hard failures. Empty iff the rule passed. | |
| std::vector<::aria::Error > | warnings |
| Soft advisories. | |
Outcome of an async rule invocation.
The same shape covers "passed" (no error, optional warnings) and "failed" (one or more errors). Cancellation is not a result – a cancelled rule never produces an AsyncRuleResult.
|
inlinestaticnodiscard |
|
inlinestaticnodiscard |
Convenience: build a single-error failure under the given key.
| std::vector<::aria::Error> aria::async::AsyncRuleResult::errors |
Hard failures. Empty iff the rule passed.
| std::vector<::aria::Error> aria::async::AsyncRuleResult::warnings |
Soft advisories.