onError method refactoring
Update tests for dsplugins
Merge pull request #37 from ssOleg/develop

onError method refactoring