Fixed a bug with ResolutionError and circular dependencies in resolvers
Made nicer exception messages for the resolvers