Class ErrorHandlingResult
Gets the result of an attempt to handle an error.
Inheritance
System.Object
ErrorHandlingResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions
Assembly: ZptSharp.Abstractions.dll
Syntax
public class ErrorHandlingResult
Properties
| Improve this Doc View SourceFailure
Gets an instance which represents an unsuccessful attempt to handle an error.
Declaration
public static ErrorHandlingResult Failure { get; }
Property Value
Type | Description |
---|---|
ErrorHandlingResult | The failure result. |
IsSuccess
Gets a value indicating whether this ErrorHandlingResult was a success.
Declaration
public bool IsSuccess { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Result
Gets the result of the error-handling attempt.
Declaration
public ExpressionContextProcessingResult Result { get; }
Property Value
Type | Description |
---|---|
ExpressionContextProcessingResult | The result. |
Methods
| Improve this Doc View SourceSuccess(ExpressionContextProcessingResult)
Gets an instance which represents successfully handling an error.
Declaration
public static ErrorHandlingResult Success(ExpressionContextProcessingResult result)
Parameters
Type | Name | Description |
---|---|---|
ExpressionContextProcessingResult | result | Result. |
Returns
Type | Description |
---|---|
ErrorHandlingResult | The success result. |