The codeAsString attribute is the textual error message as defined by the communication protocol.
The returnCode attribute is the numeric error code returned from the communication protocol.