|
purify
C++ Purify implementation with native circuit and BPP support
|
Compact error object returned by checked APIs. More...
#include <error.hpp>
Public Member Functions | |
| constexpr ErrorCategory | category () const noexcept |
| constexpr std::string_view | name () const noexcept |
| constexpr std::string_view | message () const noexcept |
| constexpr bool | is_natural () const noexcept |
| constexpr bool | is_usage_error () const noexcept |
| constexpr bool | is_internal () const noexcept |
| constexpr auto | operator<=> (const Error &) const =default |
Data Fields | |
| ErrorCode | code {} |
|
inlineconstexprnoexcept |
Definition at line 306 of file error.hpp.
References code, and purify::error_category().
Referenced by is_internal(), is_natural(), and is_usage_error().
|
inlineconstexprnoexcept |
Definition at line 90 of file error.hpp.
References category(), and purify::Internal.
|
inlineconstexprnoexcept |
Definition at line 82 of file error.hpp.
References category(), and purify::Natural.
|
inlineconstexprnoexcept |
Definition at line 86 of file error.hpp.
References category(), and purify::Usage.
|
inlineconstexprnoexcept |
Definition at line 314 of file error.hpp.
References code, and purify::error_message().
|
inlineconstexprnoexcept |
Definition at line 310 of file error.hpp.
References code, and purify::to_string().
|
constexprdefault |
| ErrorCode purify::Error::code {} |
Definition at line 76 of file error.hpp.
Referenced by category(), message(), and name().