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

Exception thrown when attempting to load a plugin with a name that already exists. More...

#include <exceptions.h>

Inheritance diagram for fourdst::plugin::exception::PluginNameCollisionError:
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 load a plugin with a name that already exists.

This exception is thrown when trying to load a plugin whose name conflicts with an already loaded plugin in the same manager instance.

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: