MOBILESDK-31 Error handling reworked. Now supports all possible combinations of errors returned by server