Construct version 5.4.4
An agent based modeling framework
dynet::unknown_value Struct Reference

Thrown when a parameter has a value outside of the limited set of options for that parameter. More...

Inheritance diagram for dynet::unknown_value:
Collaboration diagram for dynet::unknown_value:

Public Member Functions

 unknown_value (const std::string &param_name, const std::string &param_value)
 
- Public Member Functions inherited from dynet::construct_exception
 construct_exception (const std::string &message)
 Initializes a std::runtime_error with the submitted message.
 
std::string string (void) const
 Copies the contents of the message into a string.
 

Detailed Description

Thrown when a parameter has a value outside of the limited set of options for that parameter.

Message: "Parameter " + param_name + " was given an unknown value of " + param_value