Don't use `RuntimeError`. Use something more specific.