Added specific error to spec.