DiVine features a set of exceptions that are thrown when the dependency injector detects illegal use of a dependency. This helps you to avoid many bugs in your code, as it tells you meaningful error messages.
Each exception of DiVine extends GenericServiceException. When accessing the container, it is guaranteed that all runtime exceptions will be an instance of this exception.
Here is a list of DiVine's exceptions.
CircularDependencyException
This exception is thrown when two or more dependencies reference each other.