throw an exception if the given region passed  is undefined, when registering an event
throw an exception if the given region passed  is undefined, when registering an event

melonjs/melonJS,melonjs/melonJS