aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/index.ts1
-rw-r--r--shared/models/server/server-error-code.enum.ts3
2 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/index.ts b/shared/models/server/index.ts
index b079bc9a0..f253a3a79 100644
--- a/shared/models/server/index.ts
+++ b/shared/models/server/index.ts
@@ -7,4 +7,5 @@ export * from './emailer.model'
7export * from './job.model' 7export * from './job.model'
8export * from './log-level.type' 8export * from './log-level.type'
9export * from './server-config.model' 9export * from './server-config.model'
10export * from './server-error-code.enum'
10export * from './server-stats.model' 11export * from './server-stats.model'
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}