Skip to content

[Source] A failing ResolveByUri (etc) should throw, not return null #422

@ewoutkramer

Description

@ewoutkramer

We need ResolveXXX() to throw on error (for errors occuring at resolution time - for more static errors discovered by the source, use #421) - and let "null" be returned when the source simply does not have the requested url.

For the MultiResolver - this would mean either

  • On exception - try the other sources, if all fail return the first exception
  • Or create a new MultiResolverResolutionException with a list of all exceptions encountered (much like the AggregateException on Task)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions