GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::BadOptionalAccess Struct Reference

Exception type that is thrown on an attempt to erroneously access an empty Optional when using a safe access function such as Optional::value(). More...

#include <GREM/core/data/Optional.hpp>

Inheritance diagram for grem::BadOptionalAccess:

Public Member Functions

 BadOptionalAccess () noexcept=default
const char * what () const noexcept override

Detailed Description

Exception type that is thrown on an attempt to erroneously access an empty Optional when using a safe access function such as Optional::value().

Constructor & Destructor Documentation

◆ BadOptionalAccess()

grem::BadOptionalAccess::BadOptionalAccess ( )
defaultnoexcept

Member Function Documentation

◆ what()

const char * grem::BadOptionalAccess::what ( ) const
inlinenodiscardoverridenoexcept

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