Adding more details when logging dependencies errors.

Perhaps the `noCircularDependencies` variable could be named `checkThereIsNoCircularDependency`.