(#1167) - fix typo in error constructor

a dot was missed