2 using System.ComponentModel;
15 [Description(
"An internal server error occurred!")]
21 [Description(
"API Mismatch but no current API version provided!")]
27 [Description(
"The request body was malformed!")]
33 [Description(
"An IO error occurred during the operation!")]
39 [Description(
"A header validation error occurred!")]
45 [Description(
"Cannot generate a bearer token using a bearer token!")]
51 [Description(
"The operation could not be performed as it would violate database integrity. Please retry the request, making sure to not duplicate field names with existing entities.")]
57 [Description(
"Functionality is unavailable due to a missing host watchdog component! This should NOT be seen in a production environment!")]
63 [Description(
"Cannot update to a different tgstation-server suite version.")]
69 [Description(
"A required GitHub request returned an API error!")]
75 [Description(
"A server update was requested while another was in progress")]
81 [Description(
"Can only change the capitalization of a user's name!")]
87 [Description(
"Cannot change a user's systemIdentifier!")]
93 [Description(
"A user cannot have both a name and systemIdentifier!")]
99 [Description(
"A user cannot have both a password and systemIdentifier!")]
105 [Description(
"The given password is less than the server's configured minimum password length!")]
111 [Description(
"User names cannot contain the ':' character!")]
117 [Description(
"User's name is missing or invalid whitespace!")]
123 [Description(
"Cannot relocate an instance while it is online!")]
129 [Description(
"The instance cannot be placed at the given path because it is not empty!")]
135 [Description(
"Cannot detach an instance while it is online!")]
141 [Description(
"The instance cannot be placed at the given path because it is a child of an existing instance or the server installation directory!")]
147 [Description(
"The instance cannot be created because the configured limit has been reached!")]
153 [Description(
"Instance names cannot be whitespace!")]
159 [Description(
"The request path requires the 'Instance' header to be set!")]
165 [Description(
"This operation requires POSIX system identities to be implemented. See https://github.com/tgstation/tgstation-server/issues/709 for details.")]
171 [Description(
"This existing file hash does not match, the file has beeen updated!")]
177 [Description(
"The directory cannot be deleted because it is not empty!")]
183 [Description(
"Cannot clone repository with missing origin field!")]
189 [Description(
"Either both accessUser and accessToken must be set or neither!")]
195 [Description(
"The repository is busy being cloned!")]
201 [Description(
"The repository is busy with another operation!")]
207 [Description(
"The repository already exists!")]
213 [Description(
"The repository does not exist and must be cloned!")]
219 [Description(
"Cannot checkoutSha and set reference at the same time!")]
225 [Description(
"Cannot checkoutSha and updateFromOrigin at the same time!")]
231 [Description(
"Cannot change the origin of an existing repository, delete and recreate it instead!")]
237 [Description(
"The same pull request was present more than once in the test merge requests or is already merged!")]
243 [Description(
"committerName cannot be whitespace!")]
249 [Description(
"committerEmail cannot be whitespace!")]
255 [Description(
"Primary and secondary ports cannot be the same!")]
261 [Description(
"Deprecated error code.")]
262 [Obsolete(
"With DMAPI-5.0.0, ultrasafe security is now supported.",
true)]
268 [Description(
"One or more of the channels for one or more of the provided chat bots do not have the correct channel data for their provider!")]
274 [Description(
"A chat bot's connection string cannot be whitespace!")]
280 [Description(
"A chat bot's name cannot be whitespace!")]
286 [Description(
"Missing chat bot provider!")]
292 [Description(
"Missing user ID!")]
298 [Description(
"Performing this operation would violate the instance's configured chatBotLimit!")]
304 [Description(
"Set amount of chatChannels exceeds the configured channelLimit!")]
310 [Description(
"Unable to start DirectX installer process! Is the server running with admin privileges?")]
316 [Description(
"Error downloading specified BYOND version!")]
322 [Description(
"Could not acquire lock on BYOND installation as none exist!")]
328 [Description(
"DreamDaemon exited without validating the DMAPI@")]
334 [Description(
"The DMAPI sent an invalid validation request!")]
340 [Description(
"The DreamDaemon startup timeout was hit before the DMAPI validated!")]
346 [Description(
"No .dme configured and could not automatically detect one!")]
352 [Description(
"Could not load configured .dme!")]
358 [Description(
"DreamMaker exited with a non-zero exit code!")]
364 [Description(
"There is already a deployment operation in progress!")]
370 [Description(
"Could not retrieve DreamDaemon settings from the database!")]
376 [Description(
"Could not retrieve DreamMaker settings from the database!")]
382 [Description(
"Could not retrieve Repository settings from the database!")]
388 [Description(
"Performing this automatic update as a merge would result in conficts. Aborting!")]
394 [Description(
"Git credentials are required for this operation!")]
400 [Description(
"The remote is requesting authentication, but is not allowing credentials to be received!")]
406 [Description(
"This git operation requires the repository HEAD to currently be on a tracked reference!")]
412 [Description(
"The watchdog is already running!")]
418 [Description(
"Cannot launch active compile job as it is missing or corrupted!")]
424 [Description(
"DreamDaemon failed to start!")]
430 [Description(
"DreamDaemon failed to start within the configured timeout!")]
436 [Description(
"Test merging with the current remote is not supported!")]
442 [Description(
"The value set for checkoutSha or reference should be in the other field!")]
448 [Description(
"A merge conflict occurred while performing the operation!")]
454 [Description(
"The repository's current reference is unsuitable for this operation as it does not track a remote reference!")]
460 [Description(
"Encountered merge conflicts while test merging one or more pull requests!")]
466 [Description(
"The new instance's path is not under a white-listed path.")]
472 [Description(
"Cannot set both softShutdown and softReboot at once!")]
478 [Description(
"Cannot start DreamDaemon headless with the BYOND pager running!")]
484 [Description(
"Could not bind to requested DreamDaemon port! Is there another service running on that port?")]
490 [Description(
"The deployment succeeded but one or more notification events failed!")]
496 [Description(
"Cannot restart the watchdog as it is not running!")]
Either Repository.CheckoutSha or Repository.Reference was in one when it should have been the other...
The remote returned an invalid authentication request.
Attempted to create a User with a or whitespace Internal.User.Name.
Attempted to create a User with a ':' in the Internal.User.Name.
DreamDaemon exited before it finished starting.
Failed to install DirectX with BYOND.
Failed to download a given BYOND version.
The operation requires the unimplemented POSIX system identities feature.
Attempted to change a Instance.Path to a non-empty location.
Attempted to add a ChatBot when at or above the Instance.ChatBotLimit or it was set to something lowe...
Attempted to configure a ChatBot with more ChatChannels than the configured limit ...
ErrorCode
Types of ErrorMessages that the API may return.
One of Internal.RepositorySettings.AccessUser and Internal.RepositorySettings.AccessToken is set whil...
Attempted to create an Instance but the configured instance limit has been reached.
Tried to clone a repository with a missing Repository.Origin property.
Attempted to restart a stopped watchdog.
Failed to lock BYOND executables.
Attempted to set a whitespace Internal.RepositorySettings.CommitterName.
Use server authentication
DMAPI validation timeout.
Attempted to start the watchdog with a corrupted CompileJob.
Attempted to create an instance outside of the Internal.ServerInformation.ValidInstancePaths.
An IO error occurred while working with the configuration system.
Generic database integrity failure.
Deployment already in progress
The repository is busy being cloned.
Missing DreamDaemon settings in database.
The request body was malformed.
Missing DreamMaker settings in database.
Attempted to change something other than the capitalization of a Internal.User.Name.
Attempted to create an Instance with a whitespace Instance.Name.
The DMAPI never validated itself
Attempted to change a Instance.Path to a location that conflicts with the server install or another i...
Attempted to start the watchdog when it was already running.
Attempted to clone the repository when it already exists.
The configured .dme could not be found.
Could not bind to port we wanted to launch DreamDaemon on.
Attempted to update a User or InstanceUser without its ID.
Encounted merge conflicts while test merging.
Internal.ChatBot.Name was whitespace.
Attempted to change the origin of an existing repository.
Internal.ChatBot.Provider was during creation.
An implementation error occurred while processing the request.
Attempted to perform a restart operation without the host watchdog component.
A requested ChatChannel's data does not match with its Internal.ChatBot.Provider. ...
Internal.RepositorySettings.AccessUser and Internal.RepositorySettings.AccessToken are required for t...
A merge conflict occurred during a git operation.
Attempted to set a whitespace Internal.RepositorySettings.CommitterEmail.
Attempted to set Internal.DreamDaemonLaunchParameters.PrimaryPort and Internal.DreamDaemonLaunchParam...
Attempted to make a DreamDaemon update with both DreamDaemon.SoftRestart and DreamDaemon.SoftShutdown set.
Repository.NewTestMerges contained duplicate TestMergeParameters.Numbers.
Attempted to Repository.CheckoutSha and set Repository.Reference at the same time.
Attempted to change a Internal.User.SystemIdentifier.
The given UserUpdate.Password length was less than the server's configured minimum.
Failed to post GitHub comments, send chat message, or send TGS event.
Internal.ChatBot.ConnectionString was whitespace.
The current Repository.Reference does not track a remote reference.
Attempted to change a Instance.Path while it was Instance.Online.
DreamDaemonSecurity.Ultrasafe was used where it is not supported.
Attempted to load a non-existant repo.
The ApiHeaders failed to validate!
Indicates an API upgrade was required by the server.
Attempted to change to a suite other than TGS4.
DreamMaker failed to compile.
Cannot perform operation while not on a Repository.Reference.
Attempted to detach an Instance while it was Instance.Online.
Attempted to delete an non-empty directory.
Missing Repository settings in database.
Attempted to request a Token with an existing Token.
No .dme could be found for deployment.
The DMAPI sent an invalid validation request.
Performing an automatic update with the Internal.RepositorySettings.AutoUpdatesKeepTestMerges flag re...
Attempted to create a User with a Internal.User.Name and Internal.User.SystemIdentifier.
Attempted to test merge with an unsupported remote.
A server update was requested while another was in progress.
Attempted to create a User with a UserUpdate.Password and Internal.User.SystemIdentifier.
The repository is busy with another operation.
The ApiHeaders.InstanceIdHeader header was required but not set.
Attempted to Repository.CheckoutSha and Repository.UpdateFromOrigin at the same time.
A ConfigurationFile was attem updated
A required GitHub API request failed.
Attempted to launch DreamDaemon on a user account that had the BYOND pager running.
DreamDaemon timed-out before it finished starting.