cangine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cangine::Exception::ShaderException Class Reference

Exception thrown for shader compilation/linking failures. More...

#include <exception.hpp>

Inheritance diagram for cangine::Exception::ShaderException:
Inheritance graph
[legend]
Collaboration diagram for cangine::Exception::ShaderException:
Collaboration graph
[legend]

Public Member Functions

 ShaderException (std::string msg)
 Constructs the exception with a message.
 
- Public Member Functions inherited from cangine::Exception::CangineException
 CangineException (std::string msg)
 Constructs the exception with a message.
 
virtual const char * what () const noexcept override
 Returns the formatted error message.
 

Additional Inherited Members

- Public Attributes inherited from cangine::Exception::CangineException
std::string message
 Full formatted error message.
 

Detailed Description

Exception thrown for shader compilation/linking failures.

Adds a "shader err: " prefix on top of the base message.

Constructor & Destructor Documentation

◆ ShaderException()

cangine::Exception::ShaderException::ShaderException ( std::string  msg)
inline

Constructs the exception with a message.

Parameters
msgHuman-readable description of the shader error.

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