OperationError

Namespace: SnowBank.Threading.Operations · class

Implements: IEquatable<OperationError>

Result of a failed Operation.

Constructors

OperationError

OperationError()

Properties

Code

string Code { get; set; }

Code that represent the specific error condition (for robots)

Details

object Details { get; set; }

Additional details that can help diagnose the error

This object MUST support serialization to JSON or other formats.

Exception

ExceptionDispatchInfo Exception { get; set; }

Exception that triggered the failure (optional)

Message

string Message { get; set; }

Text that describes the error condition (for humans)

Methods

<Clone>$

OperationError <Clone>$()

Equals

bool Equals(object obj)

bool Equals(OperationError other)

GetHashCode

int GetHashCode()

ToString

string ToString()