result.h¶
| File Path | engine/include/conjure/core/result.h |
| API ↗ | Errors and results |
Either a value or an error. The engine's replacement for exceptions. Check with has_value() (or operator bool) before calling value().
Classes¶
| File | Description |
|---|---|
result |
Either a value or an error. The engine's replacement for exceptions. Check with has_value() (or operator bool) before calling value(). |
result<void> |
A result that carries no value: success, or an error. |
Type Aliases¶
status¶
Convenience alias for operations that only report success or failure.