![]()  | 
  
    D++ (DPP)
    
   C++ Discord API Bot Library 
   | 
 
The dpp::exception class derives from std::exception and supports some other ways of passing in error details such as via std::string. More...
 Inheritance diagram for dpp::exception:
 Collaboration diagram for dpp::exception:Public Member Functions | |
| exception ()=default | |
| Construct a new exception object.  More... | |
| exception (const char *what) | |
| Construct a new exception object.  More... | |
| exception (const char *what, size_t len) | |
| Construct a new exception object.  More... | |
| exception (const exception &)=default | |
| Construct a new exception object (copy constructor)  More... | |
| exception (const std::string &what) | |
| Construct a new exception object.  More... | |
| exception (exception &&)=default | |
| Construct a new exception object (move constructor)  More... | |
| exception (exception_error_code code, const char *what) | |
| Construct a new exception object.  More... | |
| exception (exception_error_code code, const std::string &what) | |
| Construct a new exception object.  More... | |
| exception (exception_error_code code, std::string &&what) | |
| Construct a new exception object.  More... | |
| exception (std::string &&what) | |
| Construct a new exception object.  More... | |
| ~exception () override=default | |
| Destroy the exception object.  More... | |
| exception_error_code | code () const noexcept | 
| Get exception code.  More... | |
| const char * | what () const noexcept override | 
| Get exception message.  More... | |
Protected Attributes | |
| exception_error_code | error_code | 
| Exception error code.  More... | |
| std::string | msg | 
| Exception message.  More... | |
The dpp::exception class derives from std::exception and supports some other ways of passing in error details such as via std::string.
      
  | 
  default | 
Construct a new exception object.
      
  | 
  inlineexplicit | 
Construct a new exception object.
| what | reason message | 
      
  | 
  inlineexplicit | 
Construct a new exception object.
| what | reason message | 
| code | Exception code | 
      
  | 
  inline | 
Construct a new exception object.
| what | reason message | 
| len | length of reason message | 
      
  | 
  inlineexplicit | 
Construct a new exception object.
| what | reason message | 
      
  | 
  inlineexplicit | 
Construct a new exception object.
| what | reason message | 
| code | Exception code | 
      
  | 
  inlineexplicit | 
Construct a new exception object.
| what | reason message | 
      
  | 
  inlineexplicit | 
Construct a new exception object.
| what | reason message | 
| code | Exception code | 
      
  | 
  default | 
Construct a new exception object (copy constructor)
      
  | 
  default | 
Construct a new exception object (move constructor)
      
  | 
  overridedefault | 
Destroy the exception object.
      
  | 
  inlinenoexcept | 
Get exception code.
      
  | 
  inlineoverridenoexcept | 
Get exception message.
      
  | 
  protected | 
Exception error code.
      
  | 
  protected | 
Exception message.