Wraps a status code and string message carrying additional context. More...
#include <errors.hpp>
Public Member Functions | |
| bool | ok () const |
| Status () | |
| Status (StatusCode code) | |
| Status (StatusCode code, const std::string &message) | |
Public Attributes | |
| StatusCode | code |
| std::string | message |
Wraps a status code and string message carrying additional context.
Definition at line 33 of file errors.hpp.
|
inline |
Definition at line 37 of file errors.hpp.
|
inline |
Definition at line 40 of file errors.hpp.
|
inline |
Definition at line 99 of file errors.hpp.
|
inline |
Definition at line 103 of file errors.hpp.
| StatusCode mcap::Status::code |
Definition at line 34 of file errors.hpp.
| std::string mcap::Status::message |
Definition at line 35 of file errors.hpp.