SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::IndexOutOfBoundsException Class Reference

#include <Exception.hpp>

Inheritance diagram for Sleak::IndexOutOfBoundsException:

Public Member Functions

 IndexOutOfBoundsException (const std::string &message="Index out of bounds")
Public Member Functions inherited from Sleak::SleakException
 SleakException (const std::string &message)
virtual const char * what () const noexcept override

Additional Inherited Members

Protected Attributes inherited from Sleak::SleakException
std::string message_

Detailed Description

Thrown when a container index is out of range.

Definition at line 22 of file Exception.hpp.

Constructor & Destructor Documentation

◆ IndexOutOfBoundsException()

Sleak::IndexOutOfBoundsException::IndexOutOfBoundsException ( const std::string & message = "Index out of bounds")
inline

Definition at line 24 of file Exception.hpp.