D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::cache_exception Class Reference

Represents invalid access to dpp's cache or its members, which may or may not exist. More...

#include "exception.h"

Inheritance diagram for dpp::cache_exception:
Collaboration diagram for dpp::cache_exception:

Public Member Functions

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...
 

Detailed Description

Represents invalid access to dpp's cache or its members, which may or may not exist.

Note
This is a stub for documentation purposes. For full information on supported methods please see dpp::exception.

Member Function Documentation

◆ code()

exception_error_code dpp::exception::code ( ) const
inlinenoexceptinherited

Get exception code.

Returns
exception_error_code error code

◆ what()

const char* dpp::exception::what ( ) const
inlineoverridenoexceptinherited

Get exception message.

Returns
const char* error message

Referenced by main().

Here is the caller graph for this function:

Member Data Documentation

◆ error_code

exception_error_code dpp::exception::error_code
protectedinherited

Exception error code.

◆ msg

std::string dpp::exception::msg
protectedinherited

Exception message.

Referenced by dpp::exception::exception().


The documentation for this class was generated from the following file: