code

Gets the error code.

public Constants.ErrorCode code();
Since
v4.5.0

Call timing

When an API call fails, you can call this method to get the error code.

Restrictions

None.

Returns

Error code. See ErrorCode.