TestWrapDoAPIError_Nil pins that nil in stays nil out (no allocation, no panic). Callers rely on this when the SDK returns success.
(t *testing.T)
| 190 | // TestWrapDoAPIError_Nil pins that nil in stays nil out (no allocation, no |
| 191 | // panic). Callers rely on this when the SDK returns success. |
| 192 | func TestWrapDoAPIError_Nil(t *testing.T) { |
| 193 | if got := WrapDoAPIError(nil); got != nil { |
| 194 | t.Errorf("WrapDoAPIError(nil) = %v, want nil", got) |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | // ───────────────────────────────────────────────────────────────────────────── |
| 199 | // WrapJSONResponseParseError: typed error contract. |
nothing calls this directly
no test coverage detected