Show / Hide Table of Contents

Class ApplicationExitCodes

Enum containing all standardized and understood Eco server exit codes. Ranging from 0-255. This Enum contains all options currently used by the Eco server instance. This enum should avoid overlappin with standard application exit codes.

Inheritance
System.Object
ApplicationExitCodes
Namespace: Eco.Core.Plugins
Assembly: Eco.Core.dll
Syntax
public sealed class ApplicationExitCodes : Enum
Remarks

Eco specific exit codes should be aware of the reserved exit codes used by various operating systems. A rough layout of these codes is as follows

Eco is free to utilize exit codes between 3 and 125.

Fields

ApplicationRestart

Fired off when Eco server attempts to restart. Generally handled by the maintenance plugin.

Declaration
public const ApplicationExitCodes ApplicationRestart
Field Value
Type Description
ApplicationExitCodes

ApplicationUpdate

Fired off when Eco server attempts to update. Generally handled by the maintenance plugin.

Declaration
public const ApplicationExitCodes ApplicationUpdate
Field Value
Type Description
ApplicationExitCodes

GeneralApplicationError

Catchall for general errors.

Declaration
public const ApplicationExitCodes GeneralApplicationError
Field Value
Type Description
ApplicationExitCodes

IntegrationTestsFailed

Called when the integration test's plugin shuts down the server with an unsuccessful result.

Declaration
public const ApplicationExitCodes IntegrationTestsFailed
Field Value
Type Description
ApplicationExitCodes

MisuseOfShellBuiltin

Exit code 2 signifies invalid usage of some shell built-in command. Examples of built-in commands include. This is only here to reserve the exit code as Eco Server should never return this code on its own.

Declaration
public const ApplicationExitCodes MisuseOfShellBuiltin
Field Value
Type Description
ApplicationExitCodes

NormalShutdown

Succesful application termination.

Declaration
public const ApplicationExitCodes NormalShutdown
Field Value
Type Description
ApplicationExitCodes

ServerCredentialsMissing

Fired off when Eco server starts without proper server credentials.

Declaration
public const ApplicationExitCodes ServerCredentialsMissing
Field Value
Type Description
ApplicationExitCodes

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾