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

This is the class in charge of informing the user that they tried to display a non-existent or invalid shape. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidShape:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidShape:
Collaboration graph

Public Member Functions

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

Detailed Description

This is the class in charge of informing the user that they tried to display a non-existent or invalid shape.

Definition at line 487 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidShape()

CustomExceptions::InvalidShape::InvalidShape ( const std::string & extraDetails = "")

Construct a new Invalid Shape object.

Parameters
extraDetailsa string of a more detailed explanation of their error.

Definition at line 327 of file Invalid.cpp.

◆ ~InvalidShape()

CustomExceptions::InvalidShape::~InvalidShape ( )

Destroy the Invalid Shape object.

Definition at line 337 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 339 of file Invalid.cpp.


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