Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Throw a system error with a consistently formatted message.
This is an abstraction for all Stan functions to use when throwing system errors. This will allow us to change the behavior for all functions at once. The message is: * "<function>: <name> <msg1><y>"
[in] | function | Name of the function. |
[in] | name | Name of the variable. |
[in] | y | Error code. |
[in] | msg1 | Message to print before the variable. |
std::system_error | Always. |
Definition at line 45 of file system_error.hpp.