R-Type  2
Doom but in better
Loading...
Searching...
No Matches
CustomExceptions::ConnectionFailed Class Reference

This is the class in charge of raising the ConnectionFailed error. More...

#include <Failed.hpp>

Inheritance diagram for CustomExceptions::ConnectionFailed:
Inheritance graph
Collaboration diagram for CustomExceptions::ConnectionFailed:
Collaboration graph

Public Member Functions

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

Detailed Description

This is the class in charge of raising the ConnectionFailed error.

Definition at line 26 of file Failed.hpp.

Constructor & Destructor Documentation

◆ ConnectionFailed()

CustomExceptions::ConnectionFailed::ConnectionFailed ( const std::string & address = "")

Construct a new Connection Failed object.

Parameters
addressThe address the program tried to connect to.

Definition at line 19 of file Failed.cpp.

◆ ~ConnectionFailed()

CustomExceptions::ConnectionFailed::~ConnectionFailed ( )

Destroy the Connection Failed object.

Definition at line 28 of file Failed.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 30 of file Failed.cpp.


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