Cryptolens Client API for C++
|
#include <basic_Error.hpp>
Public Member Functions | |
basic_Error (basic_Error const &e)=delete | |
basic_Error & | operator= (basic_Error const &e)=delete |
operator bool () const | |
virtual int | get_subsystem (api::main api) const noexcept |
virtual int | get_reason (api::main api) const noexcept |
virtual size_t | get_extra (api::main api) const noexcept |
virtual void | reset (api::main api) |
virtual void | set (api::main api, int subsystem) |
virtual void | set (api::main api, int subsystem, int reason) |
virtual void | set (api::main api, int subsystem, int reason, size_t extra) |
virtual void | set_call (api::main api, int call) |
This error is used by all methods in this library that can fail.
Several things are provided:
|
inlineexplicit |
Explicit conversion to bool allowing the object to be used in e.g. control flow statements.
Returns true if an error has occured, false otherwise.
|
inlinevirtual |