diff options
Diffstat (limited to 'src/WebAssembly/Execution/StackOverflowException.php')
| -rw-r--r-- | src/WebAssembly/Execution/StackOverflowException.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/StackOverflowException.php b/src/WebAssembly/Execution/StackOverflowException.php new file mode 100644 index 0000000..c5ff3a4 --- /dev/null +++ b/src/WebAssembly/Execution/StackOverflowException.php @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\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); + } +} |
