Split out runtime_error and add documentation.