Commit 6b7e644
committed
fix: Fix function spec for Response.decode/2
The input type for `GoogleApi.Gax.Response.decode/2` was missing the error
case (which is explicitly handled in the first function clause).
The return type incorrectly specifies that the error type must be a
`Tesla.Env.t()` when in fact it may return any type (for example `:timeout`
is returned when the Mint HTTP client times out).1 parent 079a3c8 commit 6b7e644
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments