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

Represents an error with voice processing. More...

#include "exception.h"

Inheritance diagram for dpp::voice_exception:
Collaboration diagram for dpp::voice_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 error with voice processing.

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: