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

This is the class in charge of informing the user that the window width is invalid. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidWindowWidth:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidWindowWidth:
Collaboration graph

Public Member Functions

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

Detailed Description

This is the class in charge of informing the user that the window width is invalid.

Definition at line 241 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidWindowWidth()

CustomExceptions::InvalidWindowWidth::InvalidWindowWidth ( const std::string & argument = "")

Construct a new Invalid Window Width object.

Parameters
argumentThe width provided by the user.

Definition at line 172 of file Invalid.cpp.

◆ ~InvalidWindowWidth()

CustomExceptions::InvalidWindowWidth::~InvalidWindowWidth ( )

Destroy the Invalid Window Width object.

Definition at line 181 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 183 of file Invalid.cpp.


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