Error


Summary

Encapsulates an error code.

Syntax

public interface Error

Members

NameTypeSummary
Code PropertyThe encapsulated error code.
TradeResult PropertyThe result of the trade that produced the error

Example 1

protected override void OnError(Error error)
{
    // Print the error code
    Print("{0}", error.Code);
}