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

Exception class for missing flag parameters. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoFlagParameter:
Inheritance graph
Collaboration diagram for CustomExceptions::NoFlagParameter:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for missing flag parameters.

Definition at line 25 of file No.hpp.

Constructor & Destructor Documentation

◆ NoFlagParameter()

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

Construct a new NoFlagParameter object.

Parameters
errorAdditional information about the error.

Definition at line 19 of file No.cpp.

◆ ~NoFlagParameter()

CustomExceptions::NoFlagParameter::~NoFlagParameter ( )

Destroy the NoFlagParameter object.

Definition at line 27 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 29 of file No.cpp.


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