Correct spelling of "assignment"

Fix misspelled "assignment" in exception message