capydi
Loading...
Searching...
No Matches
Error.hpp File Reference

Error codes and diagnostics for dependency injection operations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  capy
namespace  capy::di

Enumerations

enum class  capy::di::Error {
  capy::di::CANNOT_BE_RESOLVED , capy::di::DEPENDENCY_CANNOT_BE_RESOLVED , capy::di::CONSTLETON_ERROR , capy::di::UNRECOGNIZED_CONFIG_INPUT ,
  capy::di::TAG_CONFIG_EXPECTED , capy::di::TAG_MISMATCH , capy::di::NOT_ALL_INPUTS_RETRIEVED , capy::di::OBSERVER_COULD_NOT_RESOLVE_TYPE ,
  capy::di::OBSERVER_ACTION_EXECUTION_FAILURE , capy::di::INVALID_DECORATOR_CONFIG , capy::di::INVALID_DECORATOR_DEPENDENCIES
}
 Enumeration of possible errors during dependency injection resolution. More...

Detailed Description

Error codes and diagnostics for dependency injection operations.

This header defines the error conditions that can occur during dependency resolution and creation. All resolution operations return std::expected<Resolution, Error> to enable elegant error handling without exceptions.

See also
Resolution