libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Member Functions | List of all members
donut::audio::Error Struct Reference

Exception type for domain-specific errors originating from the donut::audio module. More...

#include <donut/audio/Error.hpp>

Inheritance diagram for donut::audio::Error:

Public Member Functions

 Error (const std::string &message)
 
 Error (const char *message)
 
 Error (std::string_view message, unsigned errorCode)
 

Detailed Description

Exception type for domain-specific errors originating from the donut::audio module.

Examples
example_game.cpp.

Constructor & Destructor Documentation

◆ Error() [1/3]

donut::audio::Error::Error ( const std::string &  message)
inlineexplicit

◆ Error() [2/3]

donut::audio::Error::Error ( const char *  message)
inlineexplicit

◆ Error() [3/3]

donut::audio::Error::Error ( std::string_view  message,
unsigned  errorCode 
)

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