diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/server/index.ts | 1 | ||||
-rw-r--r-- | shared/models/server/server-error-code.enum.ts | 3 |
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' | |||
7 | export * from './job.model' | 7 | export * from './job.model' |
8 | export * from './log-level.type' | 8 | export * from './log-level.type' |
9 | export * from './server-config.model' | 9 | export * from './server-config.model' |
10 | export * from './server-error-code.enum' | ||
10 | export * from './server-stats.model' | 11 | export * 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 @@ | |||
1 | export const enum ServerErrorCode { | ||
2 | DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS = 1 | ||
3 | } | ||