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

Exception class for etf parsing errors. More...

#include <Etf.hpp>

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

Public Member Functions

 etf_parse_error (jsonifier::string_view message, const std::source_location &location=std::source_location::current())
 Constructs an etf_parse_error instance with a message and source location. 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_parse_error()

discord_core_api::discord_core_internal::etf_parse_error::etf_parse_error ( jsonifier::string_view  message,
const std::source_location &  location = std::source_location::current() 
)
inlineexplicit
Parameters
messagethe error message.
locationthe source location where the error occurred.

Definition at line 100 of file Etf.hpp.


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