Use something more specific than `RuntimeError`.