Corrects typo in error message displayed to the user

Replaces "for a example" with the correct "for an example".