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

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

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidIp:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidIp:
Collaboration graph

Public Member Functions

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

Detailed Description

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

Definition at line 30 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidIp()

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

Construct a new Invalid Ip object.

Parameters
erroradditional information about the error.

Definition at line 19 of file Invalid.cpp.

◆ ~InvalidIp()

CustomExceptions::InvalidIp::~InvalidIp ( )

Destroy the Invalid Ip object.

Definition at line 27 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 29 of file Invalid.cpp.


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