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

This is the class in charge of informing the user that the provided file path could not be found. More...

#include <NotFound.hpp>

Inheritance diagram for CustomExceptions::FileNotFound:
Inheritance graph
Collaboration diagram for CustomExceptions::FileNotFound:
Collaboration graph

Public Member Functions

 FileNotFound (const std::string &error="")
 Construct a new File Not Found object.
 
 ~FileNotFound ()
 Destroy the File Not Found object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the provided file path could not be found.

Definition at line 27 of file NotFound.hpp.

Constructor & Destructor Documentation

◆ FileNotFound()

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

Construct a new File Not Found object.

Parameters
erroradditional information about the error.

Definition at line 18 of file NotFound.cpp.

◆ ~FileNotFound()

CustomExceptions::FileNotFound::~FileNotFound ( )

Destroy the File Not Found object.

Definition at line 26 of file NotFound.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 28 of file NotFound.cpp.


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