1#ifndef STAN_MATH_PRIM_ERR_DOMAIN_ERROR_HPP
2#define STAN_MATH_PRIM_ERR_DOMAIN_ERROR_HPP
14inline void domain_error(
const char* function,
const char* name,
const T& y,
15 const char* msg1,
const char* msg2) {
23inline void domain_error(
const char* function,
const char* name,
const T& y,
void throw_domain_error(const char *function, const char *name, const T &y, const char *msg1, const char *msg2)
Throw a domain error with a consistently formatted message.
void domain_error(const char *function, const char *name, const T &y, const char *msg1, const char *msg2)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...