2.0.1
This small patch handles replaced and provided packages, so that consumers of this library can handle bad requests gracefully.
Added
- Add
VersionMissingExceptionInterface
, and two exceptions implementing it:ProvidedPackageException
andReplacedPackageException
Fixed
- Throw explicit
ProvidedPackageException
when asking for the version of a package which is provided (was\TypeError
before) - Throw explicit
ReplacedPackageException
when asking for the version of a package which is replaced (was\TypeError
before)