mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 20:40:27 +00:00
13 lines
240 B
C++
13 lines
240 B
C++
#include "ug_runtime_error.h"
|
|
|
|
ug_runtime_error::ug_runtime_error(const std::string& what_arg, int code) :
|
|
std::runtime_error(what_arg), m_code(code)
|
|
{
|
|
}
|
|
|
|
int ug_runtime_error::get_code() const noexcept
|
|
{
|
|
return m_code;
|
|
}
|
|
|