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

Exception thrown when a required reaction is missing from the underlying database (e.g., REACLIB). More...

#include <error_policy.h>

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

Public Member Functions

 MissingBaseReactionError (const std::string &msg)
 Constructs a MissingBaseReactionError 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 reaction is missing from the underlying database (e.g., REACLIB).

This typically occurs during the construction of a ReactionChainPolicy if the reaction library used by GridFire does not contain a reaction specified by the policy.

Constructor & Destructor Documentation

◆ MissingBaseReactionError()

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

Constructs a MissingBaseReactionError with a descriptive message.

Parameters
msgThe error message.

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