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.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ReplExitCodeOverrides.cs
Signature
Section titled “Signature”public sealed record ReplExitCodeOverrides : IEquatable<ReplExitCodeOverrides>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<ReplExitCodeOverrides>
Properties
Section titled “Properties”BindingError
Section titled “BindingError”Gets the code for BindingError.
public int? BindingError { get; init; }Returns
Section titled “Returns”int?
CompletedWithFailures
Section titled “CompletedWithFailures”Gets the code for CompletedWithFailures.
public int? CompletedWithFailures { get; init; }Returns
Section titled “Returns”int?
HandlerError
Section titled “HandlerError”Gets the code for HandlerError.
public int? HandlerError { get; init; }Returns
Section titled “Returns”int?
HandlerException
Section titled “HandlerException”Gets the code for HandlerException.
public int? HandlerException { get; init; }Returns
Section titled “Returns”int?
Success
Section titled “Success”Gets the code for Success.
public int? Success { get; init; }Returns
Section titled “Returns”int?
UsageError
Section titled “UsageError”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; }Returns
Section titled “Returns”int?