refactor DependencyError
Merge pull request #3344 from timoschilling/dependency_error

refactor DependencyError