When we fail to join a room over federation, pass the error code back to the client.