summaryrefslogtreecommitdiff
path: root/src/ErrorCode.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2025-08-10 19:47:35 +0200
committerDaniel Weipert <git@mail.dweipert.de>2025-08-10 19:47:35 +0200
commit1fc29c6029cfa8c7dce5535ff9cfb2daaa6427e0 (patch)
tree2efd4ac02c6288eb325fe992e85a02559a9b34b3 /src/ErrorCode.php
parentc14579871fa1241713128a2d0d5514af004e3371 (diff)
next commit
Diffstat (limited to 'src/ErrorCode.php')
-rw-r--r--src/ErrorCode.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ErrorCode.php b/src/ErrorCode.php
new file mode 100644
index 0000000..048ef34
--- /dev/null
+++ b/src/ErrorCode.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace App;
+
+enum ErrorCode: string
+{
+ case FORBIDDEN = "M_FORBIDDEN";
+ case UNKNOWN_TOKEN = "M_UNKNOWN_TOKEN";
+
+ case UNKNOWN = "M_UNKNOWN";
+}