Namespaces | Macros | Functions
exception.h File Reference
#include <iostream>
#include <stdexcept>
#include <string>
Include dependency graph for exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nanorpc
 
 nanorpc::core
 
 nanorpc::core::exception
 

Macros

#define NANORPC_EXCEPTION_DECL(class_, base_)
 
#define NANORPC_EXCEPTION_DECL_WITH_NAMESPACE(namespace_, class_, base_)
 

Functions

void nanorpc::core::exception::default_error_handler (std::exception_ptr e)
 
std::string nanorpc::core::exception::to_string (std::exception const &e)
 

Macro Definition Documentation

◆ NANORPC_EXCEPTION_DECL

#define NANORPC_EXCEPTION_DECL (   class_,
  base_ 
)
Value:
class class_ \
: public base_ \
{ \
public: \
using base_type = base_; \
using base_type :: base_type; \
};

Definition at line 16 of file exception.h.

◆ NANORPC_EXCEPTION_DECL_WITH_NAMESPACE

#define NANORPC_EXCEPTION_DECL_WITH_NAMESPACE (   namespace_,
  class_,
  base_ 
)
Value:
namespace namespace_ \
{ \
NANORPC_EXCEPTION_DECL(class_, base_) \
}

Definition at line 25 of file exception.h.



depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19