Exceptions#
Every error InitO raises derives from InitoError. They are raised at
decoration time (invalid usage/metadata), at @Builder build time, or during
dependency resolution — never silently. See
Troubleshooting for worked examples of each.
Base#
Metadata and code generation#
- class inito.exceptions.MetadataExtractionError[source]#
Raised when class metadata cannot be built at decoration time.
- class inito.exceptions.AnnotationResolutionError[source]#
Raised when field type hints cannot be resolved.
- class inito.exceptions.InvalidFieldDefinitionError[source]#
Raised when a field declaration is structurally invalid.
- class inito.exceptions.CodeGenerationError[source]#
Raised when generated method source fails to compile or execute.
Builder#
Dependency injection#
- class inito.exceptions.DependencyRegistrationError[source]#
Raised when @Service/@Singleton registration or its constructor annotations are invalid.