Different Error Types
If something goes wrong then the result event will indicate that the operation was not successful status information. If the sdk is expecting an event X from the UI and another event Y was sent by the UI instead then an InvalidStateEvent will be set as the result (if the event Y has a result event) and it will be sent over the event bus. In some cases in addition to the result that indicates a failure, a RuntimeErrorEvent will be sent over the event bus and it will contain additional information about the encountered error (error code / error description). Please refer to the error codes list for a more extensive overview of the error codes and their meaning.