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