R-Type  2
Doom but in better
Loading...
Searching...
No Matches
CustomExceptions::InvalidType Class Reference

This is the class in charge of informing the user that they tried to display a non-existent or invalid component during the extraction of the content from std::any. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidType:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidType:
Collaboration graph

Public Member Functions

 InvalidType (const std::string &extraDetails="")
 Construct a new Invalid Type object.
 
 ~InvalidType ()
 Destroy the Invalid Type object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that they tried to display a non-existent or invalid component during the extraction of the content from std::any.

Definition at line 517 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidType()

CustomExceptions::InvalidType::InvalidType ( const std::string & extraDetails = "")

Construct a new Invalid Type object.

Parameters
extraDetailsa string of a more detailed explanation of their error.

Definition at line 344 of file Invalid.cpp.

◆ ~InvalidType()

CustomExceptions::InvalidType::~InvalidType ( )

Destroy the Invalid Type object.

Definition at line 354 of file Invalid.cpp.

Member Function Documentation

◆ what()

const char * CustomExceptions::InvalidType::what ( ) const
noexcept

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 356 of file Invalid.cpp.


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