throw an error if the ship could not be found