aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Validation/ValidationResult.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Validation/ValidationResult.php')
-rw-r--r--src/WebAssembly/Validation/ValidationResult.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/WebAssembly/Validation/ValidationResult.php b/src/WebAssembly/Validation/ValidationResult.php
new file mode 100644
index 0000000..0a9395a
--- /dev/null
+++ b/src/WebAssembly/Validation/ValidationResult.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Validation;
+
+final readonly class ValidationResult
+{
+ /**
+ * @param list<string> $errors
+ */
+ public function __construct(
+ public array $errors,
+ ) {
+ }
+}