When given an invalid roomid, emit an error event with a RangeError instead of throwing an error.
Compiled source