Change "not found" style errors from RuntimeError (misc error) to KeyError (value not found for a given search key)

This commit is contained in:
Fabian Dill
2020-09-13 17:07:46 +02:00
parent c11fe9cb51
commit d32bfb7bdf
3 changed files with 13 additions and 13 deletions

View File

@@ -1939,4 +1939,4 @@ class TextTable(object):
text['ganon_phase_3_silvers'] = CompressedTextMapper.convert("Oh no! Silver! My one true weakness!")
text['murahdahla'] = CompressedTextMapper.convert("Hello @. I\nam Murahdahla, brother of\nSahasrahla and Aginah. Behold the power of\ninvisibility.\n{PAUSE3}\n… … …\nWait! you can see me? I knew I should have\nhidden in a hollow tree.")
text['end_pad_data'] = bytearray([0xfb])
text['terminator'] = bytearray([0xFF, 0xFF])
text['terminator'] = bytearray([0xFF, 0xFF])