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

Exception class for unknown arguments. More...

#include <Unknown.hpp>

Inheritance diagram for CustomExceptions::UnknownArgument:
Inheritance graph
Collaboration diagram for CustomExceptions::UnknownArgument:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for unknown arguments.

Definition at line 26 of file Unknown.hpp.

Constructor & Destructor Documentation

◆ UnknownArgument()

CustomExceptions::UnknownArgument::UnknownArgument ( const std::string & argument = "")

Construct a new UnknownArgument object.

Parameters
argumentThe argument that was provided by the user.

Definition at line 19 of file Unknown.cpp.

◆ ~UnknownArgument()

CustomExceptions::UnknownArgument::~UnknownArgument ( )

Destroy the UnknownArgument object.

Definition at line 28 of file Unknown.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 30 of file Unknown.cpp.


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