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

Exception class for invalid operations. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidChoice:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidChoice:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for invalid operations.

Definition at line 159 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidChoice()

CustomExceptions::InvalidChoice::InvalidChoice ( const std::string & error = "")

Construct a new InvalidChoice object.

Parameters
errorAdditional information about the error.

Definition at line 105 of file Invalid.cpp.

◆ ~InvalidChoice()

CustomExceptions::InvalidChoice::~InvalidChoice ( )

Destroy the InvalidChoice object.

Definition at line 114 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 116 of file Invalid.cpp.


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