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

Represents an attempt to construct a cluster with an invalid bot token. More...

#include "exception.h"

Inheritance diagram for dpp::invalid_token_exception:
Collaboration diagram for dpp::invalid_token_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 an attempt to construct a cluster with an invalid bot token.

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: