From d46b2b1422ccc85c69b72c7660935a8cf0faee07 Mon Sep 17 00:00:00 2001 From: Netkas Date: Fri, 6 May 2022 17:32:21 +0100 Subject: [PATCH] Added RuntimeException to \ncc\Exceptions --- src/ncc/Abstracts/ExceptionCodes.php | 3 +++ src/ncc/Exceptions/RuntimeException.php | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/ncc/Exceptions/RuntimeException.php diff --git a/src/ncc/Abstracts/ExceptionCodes.php b/src/ncc/Abstracts/ExceptionCodes.php index 391b0ba..a142b61 100644 --- a/src/ncc/Abstracts/ExceptionCodes.php +++ b/src/ncc/Abstracts/ExceptionCodes.php @@ -44,4 +44,7 @@ * @see MalformedJsonException */ const MalformedJsonException = -1705; + + + const RuntimeException = -1706; } \ No newline at end of file diff --git a/src/ncc/Exceptions/RuntimeException.php b/src/ncc/Exceptions/RuntimeException.php new file mode 100644 index 0000000..a3ddb60 --- /dev/null +++ b/src/ncc/Exceptions/RuntimeException.php @@ -0,0 +1,20 @@ +