Chisei v1.0
Lightweight AI/ML Framework
Loading...
Searching...
No Matches
ModelLoaderException Class Referencefinal

Exception class for errors encountered during model loading. More...

#include <model_loader_exception.hpp>

Inheritance diagram for ModelLoaderException:
Collaboration diagram for ModelLoaderException:

Public Member Functions

 ModelLoaderException (std::string _message)
 Constructs a ModelLoaderException with a given error message.
 
char * what ()
 Retrieves the error message associated with the exception.
 

Detailed Description

This class is derived from std::exception and provides a way to handle errors specifically related to model loading operations. It encapsulates an error message that can be retrieved using the what() method.

Definition at line 54 of file model_loader_exception.hpp.

Constructor & Destructor Documentation

◆ ModelLoaderException()

ModelLoaderException::ModelLoaderException ( std::string  _message)
inline
Parameters
_messageThe error message describing the exception.

Definition at line 67 of file model_loader_exception.hpp.

Member Function Documentation

◆ what()

char * ModelLoaderException::what ( )
inline
Returns
A pointer to the error message as a C-style string.

Definition at line 75 of file model_loader_exception.hpp.


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