Sha256: 1a202e1c0f0caa02714b53d698b3b73f9dd6ff36afe4fff4655be234ab0feca8
Contents?: true
Size: 584 Bytes
Versions: 5
Compression:
Stored size: 584 Bytes
Contents
#pragma once #include <exception> #include "text.hpp" namespace tomoto { namespace exception { class TrainingError : public std::runtime_error { public: using std::runtime_error::runtime_error; }; class Unimplemented : public std::runtime_error { public: using std::runtime_error::runtime_error; }; class InvalidArgument : public std::invalid_argument { public: using std::invalid_argument::invalid_argument; }; } } #define THROW_ERROR_WITH_INFO(exec, msg) do {throw exec(tomoto::text::format("%s (%d): ", __FILE__, __LINE__) + msg); } while(0)
Version data entries
5 entries across 5 versions & 1 rubygems