solinject  1.0.0
C++17 Dependency Injection header-only library
sol::di::exc::ServiceNotRegisteredException Class Reference

Exception that is thrown when the requested service is not registered. More...

#include <ServiceNotRegisteredException.hpp>

Inheritance diagram for sol::di::exc::ServiceNotRegisteredException:
[legend]
Collaboration diagram for sol::di::exc::ServiceNotRegisteredException:
[legend]

Public Member Functions

 ServiceNotRegisteredException (const std::type_info &type)
 Constructor. More...
 
- Public Member Functions inherited from sol::di::exc::DIException
 DIException (const char *message)
 Constructor. More...
 
 DIException (const std::string &message)
 Constructor. More...
 
- Public Member Functions inherited from std::logic_error
logic_error (T... args)
 
what (T... args)
 

Detailed Description

Exception that is thrown when the requested service is not registered.

Constructor & Destructor Documentation

◆ ServiceNotRegisteredException()

sol::di::exc::ServiceNotRegisteredException::ServiceNotRegisteredException ( const std::type_info type)
inline

Constructor.

Parameters
typetype that is not registered

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