- fixed error detection
- replaced all occurences of ErrorResponse
Revert "- fixed error detection - replaced all occurences of ErrorResponse"

This reverts commit dd7dab71d0ebf094b34422e7ac06e21481266492.