- 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:
parent
c3406ca13f
commit
00dcc7e004
7 changed files with 78 additions and 128 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue