#include <result.hpp>
|
template<typename T>
requires std::is_error_code_enum_v<T> |
| | Err (T error, std::source_location loc=std::source_location::current()) |
| | Err (const std::error_code &ec, std::source_location loc=std::source_location::current()) |
| | Err (int32_t ec, const std::error_category &e_cat, std::source_location loc=std::source_location::current()) |
| auto | error () const |
| auto | message () const |
| auto | extra_msg () const |
| auto | location () const |
◆ Err() [1/3]
template<typename T>
requires std::is_error_code_enum_v<T>
| wren::Err::Err |
( |
T | error, |
|
|
std::source_location | loc = std::source_location::current() ) |
|
inline |
◆ Err() [2/3]
| wren::Err::Err |
( |
const std::error_code & | ec, |
|
|
std::source_location | loc = std::source_location::current() ) |
|
inline |
◆ Err() [3/3]
| wren::Err::Err |
( |
int32_t | ec, |
|
|
const std::error_category & | e_cat, |
|
|
std::source_location | loc = std::source_location::current() ) |
|
inline |
◆ error()
| auto wren::Err::error |
( |
| ) |
const |
|
inlinenodiscard |
◆ extra_msg()
| auto wren::Err::extra_msg |
( |
| ) |
const |
|
inlinenodiscard |
◆ location()
| auto wren::Err::location |
( |
| ) |
const |
|
inlinenodiscard |
◆ message()
| auto wren::Err::message |
( |
| ) |
const |
|
inlinenodiscard |
◆ error_code_
| std::error_code wren::Err::error_code_ |
|
private |
◆ extra_message_
| std::optional<std::string> wren::Err::extra_message_ |
|
private |
◆ loc_
| std::source_location wren::Err::loc_ |
|
private |
The documentation for this class was generated from the following file: