remove period from error constant name.