Class ExitCode
An exit code is returned to the original caller after the application terminates, to indicate success or the reason for failure.
Namespace: ZeroInstall.Publish
Assembly: ZeroInstall.Publish.dll
Syntax
public sealed class ExitCode : Enum
Fields
AccessDenied
You have insufficient access rights. This can potentially be fixed by running the command as an Administrator/root. It may also indicate misconfigured file permissions.
Declaration
public const ExitCode AccessDenied
Field Value
Type | Description |
---|---|
ExitCode |
See Also
DigestMismatch
The ManifestDigest of an implementation does not match the expected value. This could be caused by a damaged download or an incorrect feed.
Declaration
public const ExitCode DigestMismatch
Field Value
Type | Description |
---|---|
ExitCode |
See Also
InvalidArguments
The command-line arguments passed to the application were invalid.
Declaration
public const ExitCode InvalidArguments
Field Value
Type | Description |
---|---|
ExitCode |
See Also
InvalidData
A data file could not be parsed. This encompasses issues such as damaged configuration files or malformed XML documents (e.g. feeds).
Declaration
public const ExitCode InvalidData
Field Value
Type | Description |
---|---|
ExitCode |
See Also
IOError
There was an IO problem. This encompasses issues such as missing files or insufficient disk space.
Declaration
public const ExitCode IOError
Field Value
Type | Description |
---|---|
ExitCode |
See Also
NoChanges
The operation resulted in no changes. This may be due to a problem with the input or simply indicate that the system is already in the desired state.
Declaration
public const ExitCode NoChanges
Field Value
Type | Description |
---|---|
ExitCode |
NotSupported
The operation could not be completed because a feature that is not (yet) supported was requested. Upgrading to a newer version may resolve this issue.
Declaration
public const ExitCode NotSupported
Field Value
Type | Description |
---|---|
ExitCode |
See Also
OK
The operation completed without any problems.
Declaration
public const ExitCode OK
Field Value
Type | Description |
---|---|
ExitCode |
UserCanceled
The user canceled the task.
Declaration
public const ExitCode UserCanceled
Field Value
Type | Description |
---|---|
ExitCode |
See Also
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
Int32 |
WebError
There was a network problem. This may be intermittent and resolve itself e.g. when a Wi-Fi connection is restored.
Declaration
public const ExitCode WebError
Field Value
Type | Description |
---|---|
ExitCode |