Commit 31d287c
refs: add TRANSACTION_CREATE_EXISTS error
Currently there is only one special error for transaction, for when
there is a naming conflict, all other errors are dumped under a generic
error. Add a new special error case for when the caller requests the
reference to be updated only when it does not yet exist and the
reference actually does exist.
Signed-off-by: Bence Ferdinandy <[email protected]>
Signed-off-by: Taylor Blau <[email protected]>1 parent c72cc52 commit 31d287c
3 files changed
+23
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| 765 | + | |
| 766 | + | |
765 | 767 | | |
766 | | - | |
| 768 | + | |
767 | 769 | | |
768 | 770 | | |
769 | 771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2502 | 2502 | | |
2503 | 2503 | | |
2504 | 2504 | | |
| 2505 | + | |
| 2506 | + | |
2505 | 2507 | | |
2506 | 2508 | | |
2507 | 2509 | | |
2508 | 2510 | | |
2509 | | - | |
| 2511 | + | |
2510 | 2512 | | |
2511 | 2513 | | |
2512 | 2514 | | |
| 2515 | + | |
| 2516 | + | |
2513 | 2517 | | |
2514 | 2518 | | |
2515 | 2519 | | |
| |||
2522 | 2526 | | |
2523 | 2527 | | |
2524 | 2528 | | |
2525 | | - | |
| 2529 | + | |
2526 | 2530 | | |
2527 | 2531 | | |
2528 | 2532 | | |
| |||
2602 | 2606 | | |
2603 | 2607 | | |
2604 | 2608 | | |
2605 | | - | |
2606 | | - | |
2607 | | - | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
2608 | 2614 | | |
2609 | 2615 | | |
2610 | 2616 | | |
| |||
2635 | 2641 | | |
2636 | 2642 | | |
2637 | 2643 | | |
2638 | | - | |
2639 | | - | |
2640 | | - | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
2641 | 2649 | | |
2642 | 2650 | | |
2643 | 2651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
1209 | | - | |
| 1209 | + | |
| 1210 | + | |
1210 | 1211 | | |
1211 | 1212 | | |
1212 | 1213 | | |
| 1214 | + | |
| 1215 | + | |
1213 | 1216 | | |
1214 | 1217 | | |
1215 | 1218 | | |
| |||
1221 | 1224 | | |
1222 | 1225 | | |
1223 | 1226 | | |
1224 | | - | |
1225 | 1227 | | |
1226 | 1228 | | |
1227 | 1229 | | |
| |||
0 commit comments