server: remove redundant ExitCodes

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8280
GitOrigin-RevId: 20142da0dc8059d31442b41f2deb02c176dd395c
This commit is contained in:
Naveen Naidu 2023-03-14 10:46:47 +05:30 committed by hasura-bot
parent 0c3244c2c0
commit 14f177862d

View File

@ -174,14 +174,12 @@ data ExitCode
InvalidEnvironmentVariableOptionsError InvalidEnvironmentVariableOptionsError
| InvalidDatabaseConnectionParamsError | InvalidDatabaseConnectionParamsError
| AuthConfigurationError | AuthConfigurationError
| EventSubSystemError
| DatabaseMigrationError | DatabaseMigrationError
| -- | used by MT because it initialises the schema cache only | -- | used by MT because it initialises the schema cache only
-- these are used in app/Main.hs: -- these are used in app/Main.hs:
SchemaCacheInitError SchemaCacheInitError
| MetadataExportError | MetadataExportError
| MetadataCleanError | MetadataCleanError
| ExecuteProcessError
| DowngradeProcessError | DowngradeProcessError
deriving (Show) deriving (Show)