From bf9d1563115f0c0db0863beed88bdb2ef87c5285 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Thu, 12 Oct 2023 21:47:19 +0200
Subject: [PATCH] Add ExerciseCheckerError

---
 types/Dojo/AssignmentCheckerError.ts | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 types/Dojo/AssignmentCheckerError.ts

diff --git a/types/Dojo/AssignmentCheckerError.ts b/types/Dojo/AssignmentCheckerError.ts
new file mode 100644
index 0000000..34df2a8
--- /dev/null
+++ b/types/Dojo/AssignmentCheckerError.ts
@@ -0,0 +1,23 @@
+enum ExerciseCheckerError {
+    DOCKER_DAEMON_NOT_RUNNING       = 200,
+    REQUIRED_FILES_MISSING          = 201,
+    ASSIGNMENT_FILE_SCHEMA_ERROR    = 202,
+    IMMUTABLE_PATH_NOT_FOUND        = 203,
+    IMMUTABLE_PATH_IS_DIRECTORY     = 204,
+    IMMUTABLE_PATH_IS_NOT_DIRECTORY = 205,
+    COMPOSE_FILE_YAML_ERROR         = 206,
+    COMPOSE_FILE_SCHEMA_ERROR       = 207,
+    COMPOSE_FILE_CONTAINER_MISSING  = 208,
+    COMPOSE_FILE_VOLUME_MISSING     = 209,
+    DOCKERFILE_NOT_FOUND            = 210,
+    COMPOSE_RUN_SUCCESSFULLY        = 211, // Yes, this is an error
+}
+
+
+/**
+ * Codes that are unusable for historic reasons:
+ * None
+ */
+
+
+export default ExerciseCheckerError;
\ No newline at end of file
-- 
GitLab