Summary
Encapsulates an error code.
Syntax
public interface Error
Members
Name | Type | Summary |
---|---|---|
Code | Property | The encapsulated error code. |
TradeResult | Property | The result of the trade that produced the error |
Example 1
protected override void OnError(Error error) { // Print the error code Print("{0}", error.Code); }