aboutsummaryrefslogtreecommitdiff
path: root/common/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/error.cpp')
-rw-r--r--common/error.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/error.cpp b/common/error.cpp
index a6c52a0ce9..78178f8e27 100644
--- a/common/error.cpp
+++ b/common/error.cpp
@@ -67,6 +67,9 @@ static String errorToString(ErrorCode errorCode) {
case kEnginePluginNotSupportSaves:
return _s("Engine plugin does not support save states");
+ case kUserCanceled:
+ return _s("User canceled");
+
case kUnknownError:
default:
return _s("Unknown error");