fix(client): Convert all inline error strings to use an error object.

* Add inline strings to list of errors.
* All errors will be normalized in the event log no matter what locale the user  uses.

fixes #1164