set self.error in the on_error event handler
Merge pull request #8 from padawin/set-converter-error

set self.error in the on_error event handler