|
steam-min-cpp
|
Result information returned by operations. More...
#include <events.hpp>
Static Public Member Functions | |
| static EventResult | ok () |
| Construct a successful result. | |
| static EventResult | fail (std::string msg) |
| Construct a failure result. | |
Public Attributes | |
| bool | success |
| Indicates whether the operation succeeded. | |
| std::string | message |
| Optional error or diagnostic message. | |
Result information returned by operations.
Convention:
|
inlinestatic |
Construct a failure result.
| msg | Failure description. |