From 1f4ef9aba1cace86d06a31d399dc8da14b33e59b Mon Sep 17 00:00:00 2001 From: Netkas Date: Sat, 10 Dec 2022 04:29:03 -0500 Subject: [PATCH] Added UnsupportedRemoteSourceTypeException.php https://git.n64.cc/nosial/ncc/-/issues/28 --- src/ncc/Abstracts/ExceptionCodes.php | 6 ++++++ .../UnsupportedRemoteSourceTypeException.php | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/ncc/Exceptions/UnsupportedRemoteSourceTypeException.php diff --git a/src/ncc/Abstracts/ExceptionCodes.php b/src/ncc/Abstracts/ExceptionCodes.php index e07d556..74dd103 100644 --- a/src/ncc/Abstracts/ExceptionCodes.php +++ b/src/ncc/Abstracts/ExceptionCodes.php @@ -273,6 +273,11 @@ */ const HttpException = -1752; + /** + * @see UnsupportedRemoteSourceTypeException + */ + const UnsupportedRemoteSourceTypeException = -1753; + /** * All the exception codes from NCC */ @@ -329,5 +334,6 @@ self::UserAbortedOperationException, self::MissingDependencyException, self::HttpException, + self::UnsupportedRemoteSourceTypeException ]; } \ No newline at end of file diff --git a/src/ncc/Exceptions/UnsupportedRemoteSourceTypeException.php b/src/ncc/Exceptions/UnsupportedRemoteSourceTypeException.php new file mode 100644 index 0000000..6548f35 --- /dev/null +++ b/src/ncc/Exceptions/UnsupportedRemoteSourceTypeException.php @@ -0,0 +1,20 @@ +message = $message; + } + } \ No newline at end of file