Exceptions.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <stdexcept>
7 
8 /// \ingroup ErrorHandlingGroup
9 /// Exception indicating convergence failure
11  public:
12  explicit convergence_error(const std::string& message)
13  : runtime_error(message) {}
14 };
Exception indicating convergence failure.
Definition: Exceptions.hpp:10