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.Commands
Assembly: 0install.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
Conflict
A desktop integration operation could not be completed due to conflicting AccessPoints.
Declaration
public const ExitCode Conflict
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
ExecutorError
The IExecutor was unable to launch the desired application. This usually indicates a problem with the feed.
Declaration
public const ExitCode ExecutorError
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
InvalidSignature
There was a problem with the digital signature of a feed. The signature may be missing, damaged or not trusted for the source the feed came from.
Declaration
public const ExitCode InvalidSignature
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 |
SolverError
The ISolver was unable to provide Selections that fulfill the Requirements. This can be caused by a problem with the feed, an impossible request (e.g., non-existing version) or your local configuration.
Declaration
public const ExitCode SolverError
Field Value
Type | Description |
---|---|
ExitCode |
See Also
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 |