Summary
This method should throw the appropriate exception depending on the contents of
the exitCode and standardErrorOutput
parameters, or simply return if the execution is considered successful.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Containing Type
- UnbundleCommand
Syntax
protected override void ThrowOnUnsuccessfulExecution(int exitCode, string standardErrorOutput)
Remarks
Note that as long as you descend from
MercurialCommandBase<T>
you're not required to call
the base method at all. The default behavior is to throw a MercurialExecutionException
if exitCode is not zero. If you require different behavior, don't call the base
method.
Parameters
Name | Type | Description |
---|---|---|
exitCode | int | The exit code from executing the command line client. |
standardErrorOutput | string | The standard error output from executing the command client. |
Return Value
Type | Description |
---|---|
void |