knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
ReasonerError.h
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #ifndef KNOWROB_REASONER_ERROR_H_
7 #define KNOWROB_REASONER_ERROR_H_
8 
9 #include <fmt/core.h>
10 #include <knowrob/KnowRobError.h>
11 
12 namespace knowrob {
16  class ReasonerError : public KnowRobError {
17  public:
23  template<typename ... Args>
24  explicit ReasonerError(const char *fmt, Args &&... args)
25  : KnowRobError("ReasonerError", fmt::format(fmt, args...)) {}
26  };
27 }
28 
29 #endif //KNOWROB_REASONER_ERROR_H_
ReasonerError(const char *fmt, Args &&... args)
Definition: ReasonerError.h:24