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

Custom exception class for etf serialization errors. More...

#include <Etf.hpp>

Inheritance diagram for discord_core_api::discord_core_internal::etf_serialize_error:
[legend]

Public Member Functions

 etf_serialize_error (jsonifier::string_view message, const std::source_location &location=std::source_location::current())
 Constructor for etf_serialize_error. More...
 
- Public Member Functions inherited from discord_core_api::dca_exception
 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

◆ etf_serialize_error()

discord_core_api::discord_core_internal::etf_serialize_error::etf_serialize_error ( jsonifier::string_view  message,
const std::source_location &  location = std::source_location::current() 
)
inline
Parameters
messagethe error message.
locationsource location where the error occurred.

Definition at line 435 of file Etf.hpp.


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