This should be more specific than `RuntimeError`.