mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-05 05:04:49 +00:00
12 lines
254 B
C++
12 lines
254 B
C++
#include <cstdlib>
|
|
#include <stdexcept>
|
|
|
|
class ug_runtime_error : public std::runtime_error {
|
|
public:
|
|
ug_runtime_error(const std::string& what_arg, int code = EXIT_FAILURE);
|
|
int get_code() const noexcept;
|
|
private:
|
|
int m_code;
|
|
};
|
|
|