summaryrefslogtreecommitdiffstats
path: root/reftable/reftable-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/reftable-error.h')
-rw-r--r--reftable/reftable-error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/reftable/reftable-error.h b/reftable/reftable-error.h
index 6368cd9ed9..f404826562 100644
--- a/reftable/reftable-error.h
+++ b/reftable/reftable-error.h
@@ -57,6 +57,9 @@ enum reftable_error {
/* Trying to write out-of-date data. */
REFTABLE_OUTDATED_ERROR = -12,
+
+ /* An allocation has failed due to an out-of-memory situation. */
+ REFTABLE_OUT_OF_MEMORY_ERROR = -13,
};
/* convert the numeric error code to a string. The string should not be