aboutsummaryrefslogtreecommitdiff
path: root/ref/store/update_errors.go
diff options
context:
space:
mode:
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