Commit 79c3c0a
committed
feat(ios): enhance updateUser error messages with detailed diagnostics
Improve error messages returned from updateUser by including:
- Error code and domain for easier debugging
- Descriptive error message with context
- Underlying error details when available
This change is purely additive - it preserves all original error properties
and maintains NSNull safety through removeNullUnderlyingError.
Before: "Error in updateUser"
After: "updateUser failed with error code -1012: Response body is empty for HTTP 200. Domain: io.intercom.ios.error.network"1 parent 7320f94 commit 79c3c0a
1 file changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
156 | 178 | | |
157 | 179 | | |
158 | 180 | | |
| |||
0 commit comments