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

Exception class for invalid usernames. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidUsername:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidUsername:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for invalid usernames.

Definition at line 107 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidUsername()

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

Construct a new InvalidUsername object.

Parameters
errorAdditional information about the error.

Definition at line 71 of file Invalid.cpp.

◆ ~InvalidUsername()

CustomExceptions::InvalidUsername::~InvalidUsername ( )

Destroy the InvalidUsername object.

Definition at line 82 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 84 of file Invalid.cpp.


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