guarding an error.