summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/resource.cpp')
-rw-r--r--fpdfsdk/src/javascript/resource.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/src/javascript/resource.cpp b/fpdfsdk/src/javascript/resource.cpp
index be24ccd66c..4375da3ff7 100644
--- a/fpdfsdk/src/javascript/resource.cpp
+++ b/fpdfsdk/src/javascript/resource.cpp
@@ -43,6 +43,10 @@ CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id)
return L"Global value not found.";
case IDS_STRING_JSREADONLY:
return L"Cannot assign to readonly property.";
+ case IDS_STRING_JSTYPEERROR:
+ return L"Incorrect parameter type.";
+ case IDS_STRING_JSVALUEERROR:
+ return L"Incorrect parameter value.";
default:
return L"";
}