- Removed unused exception GitCloneException in \ncc\Exceptions in favor of GitException

- Removed unused exception `GitCheckoutException` in `\ncc\Exceptions` in favor of `GitException`
 - Removed unused exception `GithubServiceException` in `\ncc\Exceptions` in favor of `GitException`
 - Updated `\ncc\Classes > GitClient > cloneRepository()` to throw `GitException` instead of `GitCloneException`
 - Updated `\ncc\Classes > GitClient > checkout()` to throw `GitException` instead of `GitCheckoutException`
 - Added new exception `GitException` in `\ncc\Exceptions` to replace all git related exceptions
This commit is contained in:
Netkas 2023-08-19 12:52:39 -04:00
parent c3406ca13f
commit 00dcc7e004
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
7 changed files with 78 additions and 128 deletions

View file

@ -26,7 +26,6 @@ ResourceNotFoundException
PACKAGE_NOT_FOUND
VERSION_NOT_FOUND
NO_AVAILABLE_UNITS
PATH_NOT_FOUND
PackageException
UNSUPPORTED_PACKAGE
@ -53,8 +52,9 @@ ComposerException
COMPOSER_EXCEPTION
GitException
GIT_CLONE_EXCEPTION
GIT_CHECKOUT_EXCEPTION
* GIT_CLONE_EXCEPTION
* GIT_CHECKOUT_EXCEPTION
* GITHUB_SERVICE_EXCEPTION
GITLAB_SERVICE_EXCEPTION
GIT_TAGS_EXCEPTION