fourdst_plugin 0.0.1a
C++ Plugin Manager
Loading...
Searching...
No Matches
fourdst::plugin::exception::PluginNotLoadedError Class Referencefinal

Exception thrown when attempting to access a plugin that hasn't been loaded. More...

#include <exceptions.h>

Inheritance diagram for fourdst::plugin::exception::PluginNotLoadedError:
fourdst::plugin::exception::PluginError

Private Member Functions

 PluginError (std::string error_message)
 Construct a new PluginError with the given error message.
 

Additional Inherited Members

- Public Member Functions inherited from fourdst::plugin::exception::PluginError
 PluginError (std::string error_message)
 Construct a new PluginError with the given error message.
 
char const * what () const noexcept override
 Get the error message.
 
- Protected Attributes inherited from fourdst::plugin::exception::PluginError
std::string m_error_message
 The error message string.
 

Detailed Description

Exception thrown when attempting to access a plugin that hasn't been loaded.

This exception is thrown when trying to retrieve a plugin by name but no plugin with that name has been loaded into the manager.

Member Function Documentation

◆ PluginError()

fourdst::plugin::exception::PluginError::PluginError ( std::string error_message)
inlineexplicitprivate

Construct a new PluginError with the given error message.

Parameters
error_messageA descriptive message explaining the error condition

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