Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / StatusCode.h
diff options
context:
space:
mode:
1 files changed, 25 insertions, 0 deletions
-rw-r--r--src/Services/StatusCode.h25
diff --git a/src/Services/StatusCode.h b/src/Services/StatusCode.h
new file mode 100644
index 0000000..a1eaa17
--- /dev/null
+++ b/src/Services/StatusCode.h
@@ -0,0 +1,25 @@
+#ifndef HEADER_SERVICE_STATUSCODE
+#define HEADER_SERVICE_STATUSCODE
+
+enum StatusCode {
+ Success,
+
+
+ W_TicketHadNotBeenReserved,
+
+
+ E_Generic,
+ E_DoesntExist,
+
+ E_HallDoesntExist,
+
+ E_EventWillOverlap,
+ E_EventDoesNotExist,
+
+ E_TicketAlreadyBought,
+ E_TicketAlreadyReserved,
+ E_ReservationDoesNotExist,
+ E_WrongReservationPassword,
+};
+
+#endif