Skip to content
Snippets Groups Projects
Commit b6a5791b authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add error base class simox::error::SimoxError

parent 1b8412c6
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,8 @@ SET(SOURCES
color/color.cpp
color/GlasbeyLUT.cpp
error/SimoxError.cpp
filesystem/list_directory.cpp
json/eigen_conversion.cpp
......@@ -74,6 +76,8 @@ SET(INCLUDES
eigen/AssertAsException.h
error/SimoxError.h
filesystem/list_directory.h
filesystem/remove_trailing_separator.h
......
#pragma once
// This file is generated!
#include "error/SimoxError.h"
#include "SimoxError.h"
namespace simox::error
{
SimoxError::SimoxError(const std::string& message) :
std::runtime_error(message)
{}
}
#pragma once
#include <stdexcept>
#include <string>
namespace simox::error
{
/**
* @brief The base class of all errors thrown by `SimoxUtility`.
*/
class SimoxError : public std::runtime_error
{
public:
SimoxError(const std::string& message);
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment