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

This is the class in charge of informing the user that the port is incorrect. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidPort:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidPort:
Collaboration graph

Public Member Functions

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

Detailed Description

This is the class in charge of informing the user that the port is incorrect.

Definition at line 59 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidPort()

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

Construct a new Invalid Port object.

Parameters
erroradditional information about the error.

Definition at line 34 of file Invalid.cpp.

◆ ~InvalidPort()

CustomExceptions::InvalidPort::~InvalidPort ( )

Destroy the Invalid Port object.

Definition at line 42 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 44 of file Invalid.cpp.


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