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::ServiceAlreadyRegisteredException, sb::di::ServiceBaseTypeMismatchException, sb::di::ServiceLifeTimeMismatchException, sb::di::ServiceNotFoundException
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 InvalidServiceException : public sb::di::InjectorException#
-
struct CannotReleaseServiceException : public sb::di::InjectorException#
-
struct CannotMoveOutServiceException : public sb::di::InjectorException#
-
struct ServiceNotFoundException : public sb::di::InjectorException#
-
struct ServiceAlreadyRegisteredException : public sb::di::InjectorException#
-
struct ServiceBaseTypeMismatchException : public sb::di::InjectorException#
-
struct ServiceLifeTimeMismatchException : public sb::di::InjectorException#
-
struct CircularDependencyException : public sb::di::InjectorException#