|
Common System 0.2.0
Common interfaces and patterns for system integration
|
Error codes specific to dependency injection. More...
Variables | |
| constexpr int | service_not_registered = error::codes::common_errors::di_service_not_registered |
| Service not registered in container. | |
| constexpr int | circular_dependency = error::codes::common_errors::di_circular_dependency |
| Circular dependency detected during resolution. | |
| constexpr int | already_registered = error::codes::common_errors::di_already_registered |
| Service already registered (duplicate registration attempt) | |
| constexpr int | factory_error = error::codes::common_errors::di_factory_error |
| Factory threw an exception during instantiation. | |
| constexpr int | invalid_lifetime = error::codes::common_errors::di_invalid_lifetime |
| Invalid service lifetime configuration. | |
| constexpr int | scoped_from_root = error::codes::common_errors::di_scoped_from_root |
| Scoped service resolved from root container. | |
Error codes specific to dependency injection.
These reference the centralized error code registry in error_codes.h (common_errors DI sub-range: -50 to -59) to prevent integer collisions with system-specific error code ranges.
|
constexpr |
Service already registered (duplicate registration attempt)
Definition at line 501 of file service_container_interface.h.
Referenced by kcenon::common::di::service_container::check_already_registered().
|
constexpr |
Circular dependency detected during resolution.
Definition at line 498 of file service_container_interface.h.
Referenced by kcenon::common::di::service_container::resolve_with_detection().
|
constexpr |
Factory threw an exception during instantiation.
Definition at line 504 of file service_container_interface.h.
Referenced by kcenon::common::di::service_container::invoke_factory_safe().
|
constexpr |
Invalid service lifetime configuration.
Definition at line 507 of file service_container_interface.h.
Referenced by kcenon::common::di::service_container::resolve_with_detection().
|
constexpr |
Scoped service resolved from root container.
Definition at line 510 of file service_container_interface.h.
Referenced by kcenon::common::di::service_container::resolve_with_detection().
|
constexpr |
Service not registered in container.
Definition at line 495 of file service_container_interface.h.
Referenced by kcenon::common::di::service_container::resolve_with_detection(), and kcenon::common::di::service_container::unregister_internal().