Stan
2.10.0
probability, sampling & optimization
Main Page
Namespaces
Classes
Files
File List
File Members
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
#include <string>
6
7
namespace
stan
{
8
9
namespace
json {
10
14
struct
json_error
:
public
std::logic_error {
19
explicit
json_error
(
const
std::string& what)
20
: logic_error(what) {
21
}
22
};
23
24
}
25
}
26
#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
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
stan::json::json_error
Exception type for JSON errors.
Definition:
json_error.hpp:14
[
Stan Home Page
]
© 2011–2016, Stan Development Team.