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

Exception thrown when a constructed network fails to include a key reaction required by the policy. More...

#include <error_policy.h>

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

Public Member Functions

 MissingKeyReactionError (const std::string &msg)
 Constructs a MissingKeyReactionError 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 constructed network fails to include a key reaction required by the policy.

This error is typically thrown from the construct() method of a NetworkPolicy after the network has been built but fails the final verification step.

Constructor & Destructor Documentation

◆ MissingKeyReactionError()

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

Constructs a MissingKeyReactionError with a descriptive message.

Parameters
msgThe error message.

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