1#ifndef DONUT_AUDIO_ERROR_HPP
2#define DONUT_AUDIO_ERROR_HPP
14struct Error : std::runtime_error {
15 explicit Error(
const std::string& message)
16 : std::runtime_error(message) {}
18 explicit Error(
const char* message)
19 : std::runtime_error(message) {}
21 Error(std::string_view message,
unsigned errorCode);
Exception type for domain-specific errors originating from the donut::audio module.
Definition Error.hpp:14
Error(const std::string &message)
Definition Error.hpp:15
Error(const char *message)
Definition Error.hpp:18
Error(std::string_view message, unsigned errorCode)