aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/server-error-code.enum.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-26 09:14:14 +0200
committerChocobozzz <me@florianbigard.com>2020-08-26 09:14:14 +0200
commite6abf95e9fc9fde52d583850cf7faafdf7d050d5 (patch)
tree704e5cb65e93a5d68d558a9b20a81e3909d8142c /shared/models/server/server-error-code.enum.ts
parentca00baa75ae849b1ba4953f0ff843ff5452f6745 (diff)
downloadPeerTube-e6abf95e9fc9fde52d583850cf7faafdf7d050d5.tar.gz
PeerTube-e6abf95e9fc9fde52d583850cf7faafdf7d050d5.tar.zst
PeerTube-e6abf95e9fc9fde52d583850cf7faafdf7d050d5.zip
Add redirection on unavailable video due to follow constraints
Diffstat (limited to 'shared/models/server/server-error-code.enum.ts')
-rw-r--r--shared/models/server/server-error-code.enum.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/server/server-error-code.enum.ts b/shared/models/server/server-error-code.enum.ts
new file mode 100644
index 000000000..0bfb2c470
--- /dev/null
+++ b/shared/models/server/server-error-code.enum.ts
@@ -0,0 +1,3 @@
1export const enum ServerErrorCode {
2 DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS = 1
3}