Throw error when received a unsupported event.