Retrieve the last error code received from the Cluster Manager associated with this batch. A non-zero value indicates that a problem occurred. Refer to the Error Code table for a list of possible return values. Details on the error can be obtained by querying BatchErrorMessage.
Note that all Batch attributes are cached locally, and are only updated when you create a client-side batch object or when you explicitly update this cache (by calling the appropriate update function - GRBupdatebatch for C, update for Python, etc.).
For examples of how to query or modify attributes, refer to our Attribute Examples.