summaryrefslogtreecommitdiffstats
path: root/vendor/jfcherng/php-diff/src/Exception
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:38:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:38:42 +0000
commitc3ca98e1b35123f226c7f4c596b5dee78caa4223 (patch)
tree9b6eb109283da55e7d9064baa9fac795a40264cb /vendor/jfcherng/php-diff/src/Exception
parentInitial commit. (diff)
downloadicinga-php-thirdparty-upstream.tar.xz
icinga-php-thirdparty-upstream.zip
Adding upstream version 0.11.0.upstream/0.11.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/jfcherng/php-diff/src/Exception')
-rw-r--r--vendor/jfcherng/php-diff/src/Exception/FileNotFoundException.php13
-rw-r--r--vendor/jfcherng/php-diff/src/Exception/UnsupportedFunctionException.php13
2 files changed, 26 insertions, 0 deletions
diff --git a/vendor/jfcherng/php-diff/src/Exception/FileNotFoundException.php b/vendor/jfcherng/php-diff/src/Exception/FileNotFoundException.php
new file mode 100644
index 0000000..9a9ed8f
--- /dev/null
+++ b/vendor/jfcherng/php-diff/src/Exception/FileNotFoundException.php
@@ -0,0 +1,13 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Jfcherng\Diff\Exception;
+
+final class FileNotFoundException extends \Exception
+{
+ public function __construct(string $filepath = '', int $code = 0, \Throwable $previous = null)
+ {
+ parent::__construct("File not found: {$filepath}", $code, $previous);
+ }
+}
diff --git a/vendor/jfcherng/php-diff/src/Exception/UnsupportedFunctionException.php b/vendor/jfcherng/php-diff/src/Exception/UnsupportedFunctionException.php
new file mode 100644
index 0000000..e2d4fed
--- /dev/null
+++ b/vendor/jfcherng/php-diff/src/Exception/UnsupportedFunctionException.php
@@ -0,0 +1,13 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Jfcherng\Diff\Exception;
+
+final class UnsupportedFunctionException extends \Exception
+{
+ public function __construct(string $funcName = '', int $code = 0, \Throwable $previous = null)
+ {
+ parent::__construct("Unsupported function: {$funcName}", $code, $previous);
+ }
+}