Fix typo in RuntimeError exception