handle new error API of transactional endpoint
removed redundant conditional check
Merge pull request #1510 from akollegger/browser-textual-error-codes

handle new error API of transactional endpoint