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

#include <Exception.hpp>

Inheritance diagram for Sleak::InvalidArgumentException:

Public Member Functions

 InvalidArgumentException (const std::string &message="Invalid argument operation")
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 function receives an argument it can't work with.

Definition at line 38 of file Exception.hpp.

Constructor & Destructor Documentation

◆ InvalidArgumentException()

Sleak::InvalidArgumentException::InvalidArgumentException ( const std::string & message = "Invalid argument operation")
inline

Definition at line 40 of file Exception.hpp.