#include <errors.hpp>
|
| constexpr | Error (ErrorCode c) |
| | Construct error with code only.
|
| |
| | Error (ErrorCode c, std::string msg) |
| | Construct error with code and message.
|
| |
| auto | what () const -> std::string_view |
| | Get string representation of the error.
|
| |
◆ Error() [1/2]
| constexpr epaper::Error::Error |
( |
ErrorCode |
c | ) |
|
|
inlineconstexpr |
Construct error with code only.
- Parameters
-
◆ Error() [2/2]
| epaper::Error::Error |
( |
ErrorCode |
c, |
|
|
std::string |
msg |
|
) |
| |
|
inline |
Construct error with code and message.
- Parameters
-
| c | Error code |
| msg | Detailed error message |
◆ what()
| auto epaper::Error::what |
( |
| ) |
const -> std::string_view |
|
inline |
◆ code
◆ message
| std::string epaper::Error::message |
The documentation for this struct was generated from the following file: