Commit 919022a
committed
Use custom exception to carry sha1 of the missing obj
I need to be able to detect what object is missing so that I can go
ask the server for it and try again. One reason I tend to like
creating my own custom exceptions is that they can carry context
appropriate information about what went wrong. However, I can also see
that it is more work.1 parent c7eb6e7 commit 919022a
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
| |||
1023 | 1029 | | |
1024 | 1030 | | |
1025 | 1031 | | |
1026 | | - | |
| 1032 | + | |
1027 | 1033 | | |
1028 | 1034 | | |
1029 | 1035 | | |
| |||
0 commit comments