Babel  1
The voip software that only works on your local network
Loading...
Searching...
No Matches
CustomExceptions::InvalidType Class Reference

Exception class for invalid types in 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 InvalidType object.
 
 ~InvalidType ()
 Destroy the InvalidType object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

Exception class for invalid types in std::any.

Definition at line 81 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidType()

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

Construct a new InvalidType object.

Parameters
extraDetailsA string with a more detailed explanation of the error.

Definition at line 54 of file Invalid.cpp.

◆ ~InvalidType()

CustomExceptions::InvalidType::~InvalidType ( )

Destroy the InvalidType object.

Definition at line 64 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 66 of file Invalid.cpp.


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