Update error messages

Trailing whitespace detected.