Exceptions¶
-
struct InjectorException : public std::runtime_error¶
Base class for all injector exceptions.
Subclassed by sb::di::CannotMoveOutServiceException, sb::di::CannotReleaseServiceException, sb::di::CircularDependencyException, sb::di::InvalidServiceException, sb::di::NullPointerException, sb::di::ServiceNotFoundException, sb::di::ServiceRegisterException
Public Functions
-
explicit InjectorException(const std::string &error)¶
-
explicit InjectorException(const std::string &error)¶
-
struct NullPointerException : public sb::di::InjectorException¶
Public Functions
-
explicit NullPointerException(const std::string &why)¶
-
explicit NullPointerException(const std::string &why)¶
-
struct ServiceRegisterException : public sb::di::InjectorException¶
-
struct CannotMoveOutServiceException : public sb::di::InjectorException¶
-
struct CannotReleaseServiceException : public sb::di::InjectorException¶
-
struct ServiceNotFoundException : public sb::di::InjectorException¶
-
struct InvalidServiceException : public sb::di::InjectorException¶
-
struct CircularDependencyException : public sb::di::InjectorException¶