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

Exception meant to add attribute information based on a could_not_convert exception. More...

Inheritance diagram for dynet::could_not_convert_attribute:
Collaboration diagram for dynet::could_not_convert_attribute:

Public Member Functions

 could_not_convert_attribute (const could_not_convert &e, const std::string &att_name, const std::string &ending="")
 
- 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

Exception meant to add attribute information based on a could_not_convert exception.

Message: "Could not convert attribute " + att_name + " to " + e.type + ending