|
Lluvia
|
error related classes and methods. More...
#include "lluvia/core/enums/enums.h"#include <array>#include <string>#include <system_error>#include <tuple>

Go to the source code of this file.
Classes | |
| class | ll::ErrorCategory |
| Class for error code category. More... | |
Namespaces | |
| ll | |
| ll::impl | |
Functions | |
| template<typename T = std::string> | |
| T | ll::errorCodeToString (ll::ErrorCode &&value) noexcept |
| Converts from ll::ErrorCode enum value to std::string. More... | |
| std::error_code | ll::createErrorCode (ll::ErrorCode errorCode) |
| Creates an error code. More... | |
| template<typename T > | |
| void | ll::throwSystemErrorIf (bool condition, ll::ErrorCode errorCode, T &&msg) |
| Throws a std::system_error exception if the condition passed is true. More... | |
| template<typename T > | |
| void | ll::throwSystemError (ll::ErrorCode errorCode, T &&msg) |
| Throws a std::system_error exception with error code and message. More... | |
Variables | |
| constexpr const std::array< std::tuple< const char *, ll::ErrorCode >, 26 > | ll::impl::ErrorCodeStrings |
error related classes and methods.