]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/server/server-error-code.enum.ts
Add max lives limit
[github/Chocobozzz/PeerTube.git] / shared / models / server / server-error-code.enum.ts
index 0bfb2c470bbea55b5610e7d4625c0470599ea86f..c02b0e6c78e7312b89044867f9e38e6a656a9d1f 100644 (file)
@@ -1,3 +1,5 @@
 export const enum ServerErrorCode {
-  DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS = 1
+  DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS = 1,
+  MAX_INSTANCE_LIVES_LIMIT_REACHED = 2,
+  MAX_USER_LIVES_LIMIT_REACHED = 3,
 }