Fix typo when raising error.
Fix typo when raising error.