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

Exception class for invalid operations. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidOperation:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidOperation:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for invalid operations.

Definition at line 133 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidOperation()

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

Construct a new InvalidOperation object.

Parameters
errorAdditional information about the error.

Definition at line 89 of file Invalid.cpp.

◆ ~InvalidOperation()

CustomExceptions::InvalidOperation::~InvalidOperation ( )

Destroy the InvalidOperation object.

Definition at line 98 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 100 of file Invalid.cpp.


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