summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/novel_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h
index c031f40..de249ca 100644
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -90,7 +90,8 @@ enum PhraseIndexResult{
ERROR_NO_ITEM, /* item has a null slot */
ERROR_OUT_OF_RANGE, /* beyond the end of the sub phrase index */
ERROR_FILE_CORRUPTION, /* file is corrupted */
- ERROR_INTEGER_OVERFLOW /* integer is overflowed */
+ ERROR_INTEGER_OVERFLOW, /* integer is overflowed */
+ ERROR_ALREADY_EXISTS /* the sub phrase already exists. */
};
/* For N-gram */