Raise an error instead of returning nil.