FP Perception 0.1.2
Loading...
Searching...
No Matches
exceptions.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <stdexcept>
4#include <string>
5
6
7namespace fp_perception
8{
13struct fp_perception_exception : public std::runtime_error
14{
15 using std::runtime_error::runtime_error;
16
17 fp_perception_exception(const std::string& what) : std::runtime_error(what)
18 {
19 }
20
21 virtual const char* what() const noexcept override
22 {
23 return std::runtime_error::what();
24 }
25};
26}
Definition audio_buffer.hpp:16
Base class for driver exceptions.
Definition exceptions.hpp:14
fp_perception_exception(const std::string &what)
Definition exceptions.hpp:17
virtual const char * what() const noexcept override
Definition exceptions.hpp:21