aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cppbor_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppbor_parse.cpp b/src/cppbor_parse.cpp
index 23ebd6b..9d388a3 100644
--- a/src/cppbor_parse.cpp
+++ b/src/cppbor_parse.cpp
@@ -198,7 +198,7 @@ std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin,
if (begin == end) {
parseClient->error(
begin,
- "Input buffer is empty.");
+ "Input buffer is empty. Begin and end cannot point to the same location.");
return {begin, nullptr};
}