8.1Success/no-failure values

There are three values which are treated by FXB.Result as isOkay=true and isError=false:

FXB.ErrorCodes.

Description

OKAY

No error; success

SUCCESS

Synonym for OKAY; same numeric value (zero)

CANCELLED

Action cancelled or dismissed by the user

NO_ACTION_REQUIRED

No action. For example, a trading request such as FLATTEN when there are no open orders or trades on the account.

All the remaining values represent error conditions, and the FXB.Result will report isOkay=false and isError=true.