Program Listing for File error.hpp

Return to documentation for file (include/ruckig/error.hpp)

#pragma once

#include <exception>
#include <stdexcept>
#include <string>


namespace ruckig {

struct RuckigError: public std::runtime_error {
    explicit RuckigError(const std::string& message): std::runtime_error("\n[ruckig] " + message) { }
};

}