DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::dca_exception Struct Reference

An exception class derived from std::runtime_error for dca-related exceptions. More...

#include <Base.hpp>

Inheritance diagram for discord_core_api::dca_exception:
[legend]

Public Member Functions

 dca_exception (jsonifier::string_view error, std::source_location location=std::source_location::current())
 Constructor to create a dca_exception with an error message and optional source location. More...
 

Constructor & Destructor Documentation

◆ dca_exception()

discord_core_api::dca_exception::dca_exception ( jsonifier::string_view  error,
std::source_location  location = std::source_location::current() 
)
inline
Parameters
errorthe error message.
locationthe source location of the exception (default: current location).

Definition at line 824 of file Base.hpp.


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