aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/StackOverflowException.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Execution/StackOverflowException.php')
-rw-r--r--src/Execution/StackOverflowException.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Execution/StackOverflowException.php b/src/Execution/StackOverflowException.php
new file mode 100644
index 0000000..92991e2
--- /dev/null
+++ b/src/Execution/StackOverflowException.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Execution;
+
+use RuntimeException;
+use Throwable;
+
+final class StackOverflowException extends RuntimeException
+{
+ public function __construct(
+ string $message = 'Stack overflow',
+ int $code = 0,
+ Throwable $previous = null,
+ ) {
+ parent::__construct($message, $code, $previous);
+ }
+}