diff --git a/src/ncc/Abstracts/ExceptionCodes.php b/src/ncc/Abstracts/ExceptionCodes.php index f2bd962..60d7412 100644 --- a/src/ncc/Abstracts/ExceptionCodes.php +++ b/src/ncc/Abstracts/ExceptionCodes.php @@ -2,8 +2,6 @@ namespace ncc\Abstracts; - use ncc\Exceptions\GitlabServiceException; - /** * @author Zi Xing Narrakas * @copyright Copyright (C) 2022-2022. Nosial - All Rights Reserved. @@ -320,6 +318,11 @@ */ const NotSupportedException = -1761; + /** + * @see UnsupportedProjectTypeException + */ + const UnsupportedProjectTypeException = -1762; + /** * All the exception codes from NCC */ @@ -382,6 +385,7 @@ self::GitlabServiceException, self::GitTagsException, self::AuthenticationException, - self::NotSupportedException + self::NotSupportedException, + self::UnsupportedProjectTypeException ]; } \ No newline at end of file diff --git a/src/ncc/Exceptions/UnsupportedProjectTypeException.php b/src/ncc/Exceptions/UnsupportedProjectTypeException.php new file mode 100644 index 0000000..384a2b2 --- /dev/null +++ b/src/ncc/Exceptions/UnsupportedProjectTypeException.php @@ -0,0 +1,21 @@ +message = $message; + } + } \ No newline at end of file