summaryrefslogtreecommitdiff
path: root/src/gen_ugc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_ugc.cc')
-rw-r--r--src/gen_ugc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen_ugc.cc b/src/gen_ugc.cc
index bc7c91b..2670803 100644
--- a/src/gen_ugc.cc
+++ b/src/gen_ugc.cc
@@ -151,6 +151,8 @@ std::string_view ioerr2str(io::ReadError error) {
return "Fatal error";
case io::ReadError::MaxTooSmall:
return "Too small buffer";
+ case io::ReadError::Eof:
+ return "Unexpected end of file";
}
std::unreachable();
}