Reactions  0.1.1
Handling reaction trees and decays
Public Member Functions | List of all members
reactions::missing_fields_error Class Reference

Raised when trying to access a field that is not defined. More...

#include <exceptions.hpp>

Inheritance diagram for reactions::missing_fields_error:
Inheritance graph
[legend]
Collaboration diagram for reactions::missing_fields_error:
Collaboration graph
[legend]

Public Member Functions

 missing_fields_error (const char *msg)
 
const char * what () const noexcept
 

Detailed Description

Raised when trying to access a field that is not defined.

This kind of error is raised when a member is of type std::optional and an attempt is made to access it when it has not been defined.

Constructor & Destructor Documentation

◆ missing_fields_error()

reactions::missing_fields_error::missing_fields_error ( const char *  msg)
inline

Member Function Documentation

◆ what()

const char* reactions::missing_fields_error::what ( ) const
inlinenoexcept

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