Handle emitted string error messages.
Merge pull request #58 from shuhei/string-error

Handle emitted string error messages.