Commit c106b4d
committed
Make errors used in cluster sync API unwrappable
Implement Unwrap() functions on sync package errors. This allows e.g.
retreiving the underlying error behind a sync.UnrecoverableSyncError
Signed-off-by: Angel Misevski <[email protected]>1 parent 6ee1358 commit c106b4d
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
0 commit comments