// Copyright (c) 2019 Egor Tensin // This file is part of the "math-server" project. // For details, see https://github.com/egor-tensin/math-server. // Distributed under the MIT License. #pragma once #include #include namespace math::client { class Error : public std::runtime_error { public: explicit Error(const std::string& what) : std::runtime_error{"client error: " + what} {} }; } // namespace math::client