Construct version 5.4.3
An agent based modeling framework
dynet::already_exists Struct Reference

Thrown when an entity with the same name as another exists. More...

Inheritance diagram for dynet::already_exists:
Collaboration diagram for dynet::already_exists:

Public Member Functions

 already_exists (const std::string &type, const std::string &name)
 
- Public Member Functions inherited from dynet::construct_exception
 construct_exception (const std::string &message)
 Initializes a std::runtime_error with the submitted message. More...
 
std::string string (void) const
 

Detailed Description

Thrown when an entity with the same name as another exists.

Most enitities in Construct must have a unique name. Message: "A " + type + " with name " + name " already exists"