GridFire v0.7.0-alpha
General Purpose Nuclear Network
Loading...
Searching...
No Matches
gridfire::exceptions::MissingSeedSpeciesError Class Referencefinal

Exception thrown when a required seed species is not found in the initial composition. More...

#include <error_policy.h>

Inheritance diagram for gridfire::exceptions::MissingSeedSpeciesError:
[legend]
Collaboration diagram for gridfire::exceptions::MissingSeedSpeciesError:
[legend]

Public Member Functions

 MissingSeedSpeciesError (const std::string &msg)
 Constructs a MissingSeedSpeciesError with a descriptive message.
 
- Public Member Functions inherited from gridfire::exceptions::PolicyError
 PolicyError (const std::string &msg)
 Constructs a PolicyError with a descriptive message.
 
const char * what () const noexcept override
 Returns the explanatory string.
 

Detailed Description

Exception thrown when a required seed species is not found in the initial composition.

This error occurs when a NetworkPolicy is initialized with a composition that lacks one or more of the essential species needed to construct the network.

Constructor & Destructor Documentation

◆ MissingSeedSpeciesError()

gridfire::exceptions::MissingSeedSpeciesError::MissingSeedSpeciesError ( const std::string & msg)
inlineexplicit

Constructs a MissingSeedSpeciesError with a descriptive message.

Parameters
msgThe error message.

The documentation for this class was generated from the following file: