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

Thrown when a value is outside its required range More...

Inheritance diagram for dynet::out_of_range:
Collaboration diagram for dynet::out_of_range:

Public Member Functions

 out_of_range (const std::string &val_name, const std::string &range, const std::string &object="")
 
- 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 value is outside its required range

Message: val_name + object + " is out of range " + range