Remove deprecated .to_err_msg() call
Merge pull request #90 from AndreZSanchez/master

Remove deprecated .to_err_msg() call