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 35 of file errors.hpp.
|
inline |
Definition at line 39 of file errors.hpp.
|
inline |
Definition at line 42 of file errors.hpp.
|
inline |
Definition at line 107 of file errors.hpp.
|
inline |
Definition at line 111 of file errors.hpp.
StatusCode mcap::Status::code |
Definition at line 36 of file errors.hpp.
std::string mcap::Status::message |
Definition at line 37 of file errors.hpp.