Commit b19a60d
committed
v2: remove errors that are never returned
Unlike v1, the v2 package never returns these errors. This patch removes
them to prevent consumers of this package from assuming they may be returned,
and writing special handling around them.
NOTE: this is a breaking change, so (following SemVer) would require a major
version update. However, consumers should not use these errors. Alternatively,
we could "deprecate" them first. Making it a breaking change makes it more
visible (compile time error), which may help consumers to find incorrect
handling of these errors.
Signed-off-by: Sebastiaan van Stijn <[email protected]>1 parent 616d434 commit b19a60d
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 25 | + | |
| 26 | + | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
| |||
0 commit comments