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

This is the class in charge of informing the user was supposed to pass a parameter along with the flag. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoFlagParameter:
Inheritance graph
Collaboration diagram for CustomExceptions::NoFlagParameter:
Collaboration graph

Public Member Functions

 NoFlagParameter (const std::string &error="")
 Construct a new No Flag Parameter object.
 
 ~NoFlagParameter ()
 Destroy the No Flag Parameter object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user was supposed to pass a parameter along with the flag.

Definition at line 28 of file No.hpp.

Constructor & Destructor Documentation

◆ NoFlagParameter()

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

Construct a new No Flag Parameter object.

Parameters
erroradditional information about the error.

Definition at line 19 of file No.cpp.

◆ ~NoFlagParameter()

CustomExceptions::NoFlagParameter::~NoFlagParameter ( )

Destroy the No Flag Parameter object.

Definition at line 27 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 29 of file No.cpp.


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