Cryptolens Client API for C++
Error.hpp
1 #pragma once
2 
3 #include "basic_Error.hpp"
4 
5 namespace cryptolens_io {
6 
7 namespace v20190401 {
8 
9 class Error : public basic_Error {
10 public:
11  // Declarations below hide these methods inherited from the basic_Error class
12  using basic_Error::get_subsystem;
13  using basic_Error::get_reason;
14  using basic_Error::get_extra;
15  using basic_Error::reset;
16 
17  int get_subsystem() const noexcept { return get_subsystem(api::main()); }
18  int get_reason() const noexcept { return get_reason(api::main()); }
19  size_t get_extra() const noexcept { return get_extra(api::main()); }
20 
21  void reset() { reset(api::main()); }
22 };
23 
24 } // namespace v20190401
25 
26 namespace v20180502 {
27 
29 
30 } // namespace v20180502
31 
32 namespace latest {
33 
35 
36 } // namespace latest
37 
38 } // namespace cryptolens_io
virtual void reset(api::main api)
Definition: basic_Error.hpp:119
Definition: ActivateError.hpp:5
Definition: basic_Error.hpp:90
Definition: Error.hpp:9