Enhancement of Client Side Network error code messages
Error message format is same for error code : 2030 and 2031
Channel | Key to get error message | Error message Format |
---|---|---|
SPA | userInfo | { code : Error code domain : Domain name message : Generic error message status : Status code userInfo : {} } |
iOS | userInfo | { Domain : Dommain name Code : Error code UserInfo : Error message: CallStack : {} } |
Android | message | { code : Error code message : Error message callStack : {} } |
Windows | message | { code : Error code message : Error message callStack : {} domain : Domain name } |
Note :
1. In windows error message comes with pre-appended "An error occurred in the network layer" text along with actual error message, whereas in SPA this text and error message are sent separately. In Android and iOS only error message sent in response.
2. Error message in SPA is different than what it is shown in Android, iOS, and Windows.