#include <result.hpp>
|
| template<IsErrorCode T> |
| | Err (const T &ec, const std::optional< std::string > &msg={}) |
| |
| | Err (const std::error_code &ec, const std::optional< std::string > &msg={}) |
| |
| template<IsErrorCode T> |
| auto | operator== (const T &ec) const |
| |
| template<IsErrorCode T> |
| auto | operator!= (const T &ec) const |
| |
| auto | Code () |
| |
| auto | message () |
| |
◆ Err() [1/2]
template<IsErrorCode T>
| stax::result::Err::Err |
( |
const T & | ec, |
|
|
const std::optional< std::string > & | msg = {} ) |
|
inline |
◆ Err() [2/2]
| stax::result::Err::Err |
( |
const std::error_code & | ec, |
|
|
const std::optional< std::string > & | msg = {} ) |
|
inline |
◆ Code()
| auto stax::result::Err::Code |
( |
| ) |
|
|
inline |
◆ message()
| auto stax::result::Err::message |
( |
| ) |
|
|
inline |
◆ operator!=()
template<IsErrorCode T>
| auto stax::result::Err::operator!= |
( |
const T & | ec | ) |
const |
|
inline |
◆ operator==()
template<IsErrorCode T>
| auto stax::result::Err::operator== |
( |
const T & | ec | ) |
const |
|
inline |
The documentation for this class was generated from the following file: