Stan
2.5.0
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
stan
io
json
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
stan::json::json_error::json_error
json_error(const std::string &what)
Construct a JSON error with the specified message.
Definition:
json_error.hpp:19
stan::json::json_error
Exception type for JSON errors.
Definition:
json_error.hpp:14
[
Stan Home Page
]
© 2011–2014, Stan Development Team.