ae2f_docs
ae2f::errGlobState Struct Reference

Gets the code. More...

#include <errGlob.hpp>

Public Member Functions

constexprmethod errGlobState (ae2f_err_t a) noexcept
constexprmethod const char * peek () const noexcept
 Gets one.
constextendedmethod errGlobState pop () const noexcept
 Pops an error with an error type.
std::string msgall () const noexcept
 Generates the error message.

Static Public Member Functions

static errGlobState errGlobStateWithThrow (ae2f_err_t a)
 It is a constructor, which will throw it is a state critical.

Public Attributes

ae2f_err_t code

Detailed Description

Gets the code.

Definition at line 25 of file errGlob.hpp.

Constructor & Destructor Documentation

◆ errGlobState()

constexprmethod ae2f::errGlobState::errGlobState ( ae2f_err_t a)
noexcept

Definition at line 83 of file errGlob.hpp.

Member Function Documentation

◆ errGlobStateWithThrow()

errGlobState ae2f::errGlobState::errGlobStateWithThrow ( ae2f_err_t a)
inlinestatic

It is a constructor, which will throw it is a state critical.

Parameters
aRaw status code
Returns
error parser for a.
See also
ae2f_errGlobNormalised

Definition at line 116 of file errGlob.hpp.

◆ msgall()

std::string ae2f::errGlobState::msgall ( ) const
inlinenoexcept

Generates the error message.

Returns
A whole list of error messages.

Definition at line 84 of file errGlob.hpp.

◆ peek()

constexprmethod const char * ae2f::errGlobState::peek ( ) const
inlinenoexcept

Gets one.

Returns
A single error message for this code.

Definition at line 42 of file errGlob.hpp.

◆ pop()

constextendedmethod errGlobState ae2f::errGlobState::pop ( ) const
inlinenoexcept

Pops an error with an error type.

Returns
Error message

Definition at line 72 of file errGlob.hpp.

Member Data Documentation

◆ code

ae2f_err_t ae2f::errGlobState::code

Definition at line 26 of file errGlob.hpp.


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