Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
json_error.hpp
Go to the documentation of this file.
1 #ifndef STAN__IO__JSON__JSON_ERROR_HPP
2 #define STAN__IO__JSON__JSON_ERROR_HPP
3 
4 #include <stdexcept>
5 
6 
7 namespace stan {
8 
9  namespace json {
10 
14  struct json_error : public std::logic_error {
19  json_error(const std::string& what)
20  : logic_error(what) {
21  }
22 
23  };
24 
25 
26  }
27 }
28 #endif
json_error(const std::string &what)
Construct a JSON error with the specified message.
Definition: json_error.hpp:19
Exception type for JSON errors.
Definition: json_error.hpp:14

     [ Stan Home Page ] © 2011–2014, Stan Development Team.