Moved dispatch event outside try block. Merged _errorParser into _message method.