update: fixing minor lint warnings
This commit is contained in:
parent
f3b0fac943
commit
786224caf5
1 changed files with 4 additions and 7 deletions
|
@ -24,19 +24,17 @@ abstract class ContainerException implements Exception {
|
||||||
|
|
||||||
/// Exception thrown when reflection operations fail
|
/// Exception thrown when reflection operations fail
|
||||||
class ReflectionException extends ContainerException {
|
class ReflectionException extends ContainerException {
|
||||||
ReflectionException(String message, [Object? cause]) : super(message, cause);
|
ReflectionException(super.message, [super.cause]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Exception thrown when a binding resolution fails
|
/// Exception thrown when a binding resolution fails
|
||||||
class BindingResolutionException extends ContainerException {
|
class BindingResolutionException extends ContainerException {
|
||||||
BindingResolutionException(String message, [Object? cause])
|
BindingResolutionException(super.message, [super.cause]);
|
||||||
: super(message, cause);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Exception thrown when a circular dependency is detected
|
/// Exception thrown when a circular dependency is detected
|
||||||
class CircularDependencyException extends ContainerException {
|
class CircularDependencyException extends ContainerException {
|
||||||
CircularDependencyException(String message, [Object? cause])
|
CircularDependencyException(super.message, [super.cause]);
|
||||||
: super(message, cause);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Exception thrown when an entry is not found in the container
|
/// Exception thrown when an entry is not found in the container
|
||||||
|
@ -50,6 +48,5 @@ class EntryNotFoundException extends ContainerException {
|
||||||
|
|
||||||
/// Exception thrown when there are contextual binding issues
|
/// Exception thrown when there are contextual binding issues
|
||||||
class ContextualBindingException extends ContainerException {
|
class ContextualBindingException extends ContainerException {
|
||||||
ContextualBindingException(String message, [Object? cause])
|
ContextualBindingException(super.message, [super.cause]);
|
||||||
: super(message, cause);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue