7#include "fxjs/js_resources.h"
10 const char* msg_string =
"";
16 msg_string =
"Incorrect number of parameters passed to function.";
19 msg_string =
"The input value is invalid.";
22 msg_string =
"The input value is too long.";
26 "The input value can't be parsed as a valid date/time (%ls).";
30 "The input value must be greater than or equal to %ls"
31 " and less than or equal to %ls.";
34 msg_string =
"The input value must be greater than or equal to %ls.";
37 msg_string =
"The input value must be less than or equal to %ls.";
40 msg_string =
"Operation not supported.";
43 msg_string =
"System is busy.";
46 msg_string =
"Duplicate formfield event found.";
49 msg_string =
"The second parameter can't be converted to a Date.";
52 msg_string =
"The second parameter is an invalid Date.";
55 msg_string =
"Global value not found.";
58 msg_string =
"Cannot assign to readonly property.";
61 msg_string =
"Incorrect parameter type.";
64 msg_string =
"Incorrect parameter value.";
67 msg_string =
"Permission denied.";
70 msg_string =
"Object no longer exists.";
73 msg_string =
"Object is of the wrong type.";
76 msg_string =
"Unknown property.";
79 msg_string =
"Set not possible, invalid or unknown.";
82 msg_string =
"User gesture required.";
85 msg_string =
"Too many occurrences.";
88 msg_string =
"Unknown method.";
91 msg_string =
"Operation would create a cycle.";
98 const char* property_name,
99 const WideString& details) {
100 WideString result = WideString
::FromUTF8(class_name);
103 result += WideString
::FromUTF8(property_name);
WideString & operator+=(const WideString &str)
static WideString FromUTF8(ByteStringView str)
WideString & operator+=(const wchar_t *str)
static WideString FromASCII(ByteStringView str)
@ kSecondParamNotDateError
@ kUserGestureRequiredError
@ kSecondParamInvalidDateError
WideString JSFormatErrorString(const char *class_name, const char *property_name, const WideString &details)
WideString JSGetStringFromID(JSMessage msg)