Method Failure
Failure(string)
Get a build result representing a failure.
Declaration
public BuildResult Failure(string reason)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reason | The reason of the failure. |
Returns
| Type | Description |
|---|---|
| BuildResult | A new build result instance. |
Failure(Exception)
Get a build result representing a failure.
Declaration
public BuildResult Failure(Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | The exception that was thrown. |
Returns
| Type | Description |
|---|---|
| BuildResult | A new build result instance. |