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

Exception thrown when a plugin fails to load. More...

#include <exceptions.h>

Inheritance diagram for fourdst::plugin::exception::PluginLoadError:
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 a plugin fails to load.

This exception is thrown when:

  • The plugin library file cannot be found
  • The library file cannot be opened (e.g., permissions, corruption)
  • The plugin factory returns a nullptr

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: