-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error reporting for repository Zip download (#302)
Replace the `CosmosError` subclass `InvalidRepositoryUri` with
`RepositoryUriSyntax` and `RepositoryUriConnection`. The JSON
encodings of these new types include the message from the
`Throwable` cause of the error, to further assist with diagnosis.
To facilitate unit testing, the `UniversePackageCache` method
`updateUniverseCache` was moved to the companion object, allowing
it to be tested without creating an instance of a cache. This allowed
most of the tests to be written without use of the filesystem.
Fixes #299.
- Loading branch information
1 parent
8bf20b1
commit e1da3bf
Showing
7 changed files
with
211 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.