Syntax: the arrangement of word forms to show their mutual relations in the sentence.
“Coming out of the auditorium, a purse was lost” is an error of syntax.