Skip to content

ReplExitCodeOverrides

The exit codes a module declares for the outcomes of its own commands, through IReplModuleExitCodes. A code left null is inherited from the module that mapped this one, and then from ExitCodes.

public sealed record ReplExitCodeOverrides : IEquatable<ReplExitCodeOverrides>
  • IEquatable<ReplExitCodeOverrides>

Gets the code for BindingError.

public int? BindingError { get; init; }

int?

Gets the code for CompletedWithFailures.

public int? CompletedWithFailures { get; init; }

int?

Gets the code for HandlerError.

public int? HandlerError { get; init; }

int?

Gets the code for HandlerException.

public int? HandlerException { get; init; }

int?

Gets the code for Success.

public int? Success { get; init; }

int?

Gets the code for UsageError: an option, argument, output format or command the module’s commands refused, including an unknown or ambiguous command under the module’s own words.

public int? UsageError { get; init; }

int?