- Added new exception PackageException in \ncc\Exceptions to replace all package related exceptions

- Removed unused exception `HttpException` in `\ncc\Exceptions` in favor of `NetworkException`
 - Removed unused exception `ComposerDisabledException` in `\ncc\Exceptions` in favor of `ComposerException`
 - Removed unused exception `ComposerNotAvailable` in `\ncc\Exceptions` in favor of `ComposerException`
 - Removed unused exception `InternalComposerNotAvailable` in `\ncc\Exceptions` in favor of `ComposerException`
 - Removed unused exception `PackagePreperationFailedException` in `\ncc\Exceptions` in favor of `PackageException`
 - Removed unused exception `PackageParsingException` in `\ncc\Exceptions` in favor of `PackageException`
 - Removed unused exception `MissingDependencyException` in `\ncc\Exceptions` (not used)
 - Removed unused exception `PackageAlreadyInstalledException` in `\ncc\Exceptions` in favor of `PackageException`
 - Removed unused exception `PackageFetchException` in `\ncc\Exceptions` in favor of `PackageException`
This commit is contained in:
Netkas 2023-08-21 21:35:24 -04:00
parent 623da68d29
commit cdbc87e4bc
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
22 changed files with 195 additions and 477 deletions

View file

@ -15,6 +15,7 @@ ConfigurationException
* PROJECT_CONFIGURATION_NOT_FOUND
* UNDEFINED_EXECUTION_POLICY
* INVALID_EXECUTION_POLICY_NAME
* INVALID_PACKAGE
AuthenticationException
* ACCESS_DENIED
@ -27,29 +28,29 @@ ResourceNotFoundException
VERSION_NOT_FOUND
NO_AVAILABLE_UNITS
PackageException
UNSUPPORTED_PACKAGE
INVALID_PACKAGE
PACKAGE_PREPARATION_FAILED
PACKAGE_PARSING_EXCEPTION
PackageLockException
PACKAGE_LOCK_EXCEPTION
PackageException
* PACKAGE_PREPARATION_FAILED
* PACKAGE_PARSING_EXCEPTION
PACKAGE_ALREADY_INSTALLED
PACKAGE_FETCH_EXCEPTION
MISSING_DEPENDENCY
- MISSING_DEPENDENCY
IOException
IO_EXCEPTION
SYMLINK_EXCEPTION
NetworkException
HTTP_EXCEPTION
UNSUPPORTED_REMOTE_SOURCE_TYPE
* HTTP_EXCEPTION
ComposerException
COMPOSER_DISABLED_EXCEPTION
INTERNAL_COMPOSER_NOT_AVAILABLE
COMPOSER_NOT_AVAILABLE
COMPOSER_EXCEPTION
* COMPOSER_DISABLED_EXCEPTION
* INTERNAL_COMPOSER_NOT_AVAILABLE
* COMPOSER_NOT_AVAILABLE
* COMPOSER_EXCEPTION
GitException
* GIT_CLONE_EXCEPTION
@ -69,6 +70,8 @@ NotSupportedException
* UNSUPPORTED_COMPONENT_TYPE
* NOT_SUPPORTED_EXCEPTION
* UNSUPPORTED_PROJECT_TYPE
* UNSUPPORTED_REMOTE_SOURCE_TYPE
* UNSUPPORTED_PACKAGE
RuntimeException
RUNTIME