错误类型,用于 std::expected
More...
#include <expected.hpp>
错误类型,用于 std::expected
Definition at line 343 of file expected.hpp.
◆ Error() [1/4]
◆ Error() [2/4]
◆ Error() [3/4]
| Error::Error |
( |
const Error & |
| ) |
|
|
default |
◆ Error() [4/4]
| Error::Error |
( |
Error && |
| ) |
|
|
default |
◆ ~Error()
◆ message()
| constexpr auto Error::message |
( |
| ) |
const -> const char* |
|
inlineconstexpr |
Definition at line 358 of file expected.hpp.
358 {
360 }
constexpr auto GetErrorMessage(ErrorCode code) -> const char *
获取错误码对应的错误信息
◆ operator=() [1/2]
| auto Error::operator= |
( |
const Error & |
| ) |
-> Error &=default |
|
default |
◆ operator=() [2/2]
| auto Error::operator= |
( |
Error && |
| ) |
-> Error &=default |
|
default |
◆ code
The documentation for this struct was generated from the following file: