The code for handling errors is actually present. But the errors from the API are not being propagated to the next level. (They throw an exception rather than return an error as the higher level expects).
For example, api.createRoom() should return a null when there is an error, so that caller can process the error properly.
The code for handling errors is actually present. But the errors from the API are not being propagated to the next level. (They throw an exception rather than return an error as the higher level expects).
For example,
api.createRoom()should return a null when there is an error, so that caller can process the error properly.