aboutsummaryrefslogtreecommitdiff
path: root/ref/store/update_errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-05-20 16:27:38 +0000
committerGravatar Runxi Yu2026-05-20 16:27:38 +0000
commit5d68b08dcd50c65e6e67239ca1ee8b25786d4559 (patch)
tree732124b4ab9a1e80bc26541a33aeed8d0e13a406 /ref/store/update_errors.go
parentref/store: List should not be backend-defined (diff)
signatureNo signature
ref/store: More bikeshedding
Diffstat (limited to 'ref/store/update_errors.go')
-rw-r--r--ref/store/update_errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ref/store/update_errors.go b/ref/store/update_errors.go
index f05f37d2..d3580439 100644
--- a/ref/store/update_errors.go
+++ b/ref/store/update_errors.go
@@ -62,6 +62,9 @@ func (err *CreateExistsError) Error() string {
// IncorrectOldValueError indicates that one operation's expected old value did
// not match the current reference value.
+//
+// TODO: All of these errors should be redesigned.
+// Strings are not appropriate here.
type IncorrectOldValueError struct {
Actual string
Expected string