It would be nice if you included the `key` value in the message for the `KeyError`, so that code that catches this exception can determine what was requested