resolve method can currently throw ResolutionFailed with underlying error or DefinitionNotFound error. ResolutionFailed error wraps any errors thrown by inner resolve calls. Should we make it more consistent and always wrap any error in ResolutionFailed error? Or should we get rid of it and just rethrow what ever inner resolve calls throw without any wrapping?
resolve
method can currently throwResolutionFailed
with underlying error orDefinitionNotFound
error.ResolutionFailed
error wraps any errors thrown by innerresolve
calls. Should we make it more consistent and always wrap any error inResolutionFailed
error? Or should we get rid of it and just rethrow what ever innerresolve
calls throw without any wrapping?