Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Engine::SchedulerError Class Reference

Custom exception class for scheduler-related errors. More...

#include <SchedulerContainer.hpp>

Inheritance diagram for Engine::SchedulerError:

Public Member Functions

 SchedulerError (const std::string &message)
 Constructor for SchedulerError.
const char * what () const override throw ()
 Gets the error message.

Private Attributes

std::string msg
 The error message associated with the exception.

Detailed Description

Custom exception class for scheduler-related errors.

Todo
Put this in Exception folder.

Constructor & Destructor Documentation

◆ SchedulerError()

Engine::SchedulerError::SchedulerError ( const std::string & message)
inlineexplicit

Constructor for SchedulerError.

Parameters
messageThe error message to be included in the exception.

Member Function Documentation

◆ what()

const char * Engine::SchedulerError::what ( ) const
throw ( )
inlineoverride

Gets the error message.

Returns
The error message as a C-style string.

Member Data Documentation

◆ msg

std::string Engine::SchedulerError::msg
private

The error message associated with the exception.


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