Lines Matching refs:error

22     std::string error;

30 error += "Wrong type of 'maxScriptsCacheSize';";
33 if (!error.empty()) {
34 LOG_DEBUGGER(ERROR) << "EnableParams::Create " << error;
44 std::string error;
51 error += "Failed to convert 'callFrameId' from string to int;";
54 error += "Unknown or wrong type of 'callFrameId';";
61 error += "Unknown or wrong type of 'expression';";
68 error += "Wrong type of 'objectGroup';";
75 error += "Wrong type of 'includeCommandLineAPI';";
82 error += "Wrong type of 'silent';";
89 error += "Wrong type of 'returnByValue';";
96 error += "Wrong type of 'generatePreview';";
103 error += "Wrong type of 'throwOnSideEffect';";
106 if (!error.empty()) {
107 LOG_DEBUGGER(ERROR) << "EvaluateOnCallFrameParams::Create " << error;
116 std::string error;
124 error += "'location' is invalid;";
129 error += "Unknown or wrong type of 'location';";
137 error += "Unknown 'targetCallFrames';";
140 if (!error.empty()) {
141 LOG_DEBUGGER(ERROR) << "ContinueToLocationParams::Create " << error;
152 std::string error;
160 error += "'start' is invalid;";
165 error += "Unknown or wrong type of 'start';";
172 error += "'end' is invalid;";
177 error += "Wrong type of 'end';";
184 error += "Wrong type of 'restrictToFunction';";
187 if (!error.empty()) {
188 LOG_DEBUGGER(ERROR) << "GetPossibleBreakpointsParams::Create " << error;
198 std::string error;
205 error += "Failed to convert 'scriptId' from string to int;";
208 error += "Unknown or wrong type of'scriptId';";
211 if (!error.empty()) {
212 LOG_DEBUGGER(ERROR) << "GetScriptSourceParams::Create " << error;
222 std::string error;
230 error += "Unknown or wrong type of 'breakpointId';";
233 if (!error.empty()) {
234 LOG_DEBUGGER(ERROR) << "RemoveBreakpointParams::Create " << error;
244 std::string error;
252 error += "Wrong or unknown type of 'url'";
255 if (!error.empty()) {
256 LOG_DEBUGGER(ERROR) << "RemoveBreakpointByUrlParams::Create " << error;
266 std::string error;
274 error += "Wrong type of 'terminateOnResume';";
277 if (!error.empty()) {
278 LOG_DEBUGGER(ERROR) << "ResumeParams::Create " << error;
288 std::string error;
296 error += "Unknown or wrong type of 'maxDepth';";
299 if (!error.empty()) {
300 LOG_DEBUGGER(ERROR) << "SetAsyncCallStackDepthParams::Create " << error;
310 std::string error;
322 error += "'patterns' items should be a String;";
326 error += "Unknown or wrong type of 'patterns';";
329 if (!error.empty()) {
330 LOG_DEBUGGER(ERROR) << "SetBlackboxPatternsParams::Create " << error;
340 std::string error;
348 error += "Unknown or wrong type of 'lineNumber';";
355 error += "Wrong type of 'url';";
362 error += "Wrong type of 'urlRegex';";
369 error += "Wrong type of 'scriptHash';";
376 error += "Wrong type of 'columnNumber';";
383 error += "Wrong type of 'condition';";
385 if (!error.empty()) {
386 LOG_DEBUGGER(ERROR) << "SetBreakpointByUrlParams::Create " << error;
396 std::string error;
404 error += "Unknown or wrong type of 'active';";
406 if (!error.empty()) {
407 LOG_DEBUGGER(ERROR) << "SetBreakpointsActiveParams::Create " << error;
417 std::string error;
425 error += "Unknown or wrong type of 'skip';";
427 if (!error.empty()) {
428 LOG_DEBUGGER(ERROR) << "SetSkipAllPausesParams::Create " << error;
438 std::string error;
449 error += "'breakpoints' items BreakpointInfo is invaild;";
459 error += "Wrong type of 'breakpoints';";
462 if (!error.empty()) {
463 LOG_DEBUGGER(ERROR) << "GetPossibleAndSetBreakpointParams::Create " << error;
473 std::string error;
481 error += "Unknown or wrong type of'state';";
484 if (!error.empty()) {
485 LOG_DEBUGGER(ERROR) << "SetPauseOnExceptionsParams::Create " << error;
495 std::string error;
503 error += "Wrong type of 'breakOnAsyncCall';";
513 error += "'skipList' items LocationRange is invalid;";
523 error += "Wrong type of 'skipList';";
526 if (!error.empty()) {
527 LOG_DEBUGGER(ERROR) << "StepIntoParams::Create " << error;
566 std::string error;
577 error += "'skipList' items LocationRange is invalid;";
587 error += "Wrong type of 'skipList';";
590 if (!error.empty()) {
591 LOG_DEBUGGER(ERROR) << "StepOverParams::Create " << error;
601 std::string error;
609 error += "Wrong type of 'droppedDepth';";
612 if (!error.empty()) {
613 LOG_DEBUGGER(ERROR) << "DropFrameParams::Create " << error;
623 std::string error;
634 error += "'nativeRange' is invalid;";
644 error += "Unknown 'nativeRange';";
647 if (!error.empty()) {
648 LOG_DEBUGGER(ERROR) << "SetNativeRangeParams::Create " << error;
658 std::string error;
666 error += "Wrong type of 'enabled';";
674 error += "Wrong type of 'enabled';";
677 if (!error.empty()) {
678 LOG_DEBUGGER(ERROR) << "SetMixedDebugParams::Create " << error;
688 std::string error;
696 error += "Wrong type of 'resetSingleStepper';";
699 if (!error.empty()) {
700 LOG_DEBUGGER(ERROR) << "ResetSingleStepperParams::Create " << error;
710 std::string error;
718 error += "Wrong type of 'userCode';";
721 if (!error.empty()) {
722 LOG_DEBUGGER(ERROR) << "ReplyNativeCallingParams::Create " << error;
732 std::string error;
739 error += "Failed to convert 'objectId' from string to int;";
742 error += "Unknown or wrong type of 'objectId';";
749 error += "Wrong type of 'ownProperties';";
756 error += "Wrong type of 'accessorPropertiesOnly';";
763 error += "Wrong type of 'generatePreview';";
765 if (!error.empty()) {
766 LOG_DEBUGGER(ERROR) << "GetPropertiesParams::Create " << error;
776 std::string error;
784 error += "Failed to convert 'callFrameId' from string to int;";
787 error += "Unknown or wrong type of 'callFrameId';";
795 error += "Unknown or wrong type of 'functionDeclaration';";
802 error += "Failed to convert 'objectId' from string to int;";
805 error += "Wrong type of 'objectId';";
816 error += "'arguments' items CallArgument is invaild;";
826 error += "Wrong type of 'arguments';";
834 error += "Wrong type of 'silent';";
842 error += "Wrong type of 'returnByValue';";
850 error += "Wrong type of 'generatePreview';";
858 error += "Wrong type of 'userGesture';";
866 error += "Wrong type of 'awaitPromise';";
874 error += "Wrong type of 'executionContextId';";
882 error += "Wrong type of 'objectGroup';";
890 error += "Wrong type of 'throwOnSideEffect';";
893 // Check whether the error is empty.
894 if (!error.empty()) {
895 LOG_DEBUGGER(ERROR) << "CallFunctionOnParams::Create " << error;
905 std::string error;
912 error += "Invalid SamplingInterval";
917 error += "Wrong type of 'samplingInterval';";
920 if (!error.empty()) {
921 LOG_DEBUGGER(ERROR) << "StartSamplingParams::Create " << error;
930 std::string error;
938 error += "Wrong type of 'trackAllocations';";
941 if (!error.empty()) {
942 LOG_DEBUGGER(ERROR) << "StartTrackingHeapObjectsParams::Create " << error;
951 std::string error;
959 error += "Wrong type of 'reportProgress';";
967 error += "Wrong type of 'treatGlobalObjectsAsRoots';";
975 error += "Wrong type of 'captureNumericValue';";
978 if (!error.empty()) {
979 LOG_DEBUGGER(ERROR) << "StopTrackingHeapObjectsParams::Create " << error;
988 std::string error;
995 error += "Failed to convert 'heapObjectId' from string to int;";
998 error += "Unknown or wrong type of 'heapObjectId';";
1001 if (!error.empty()) {
1002 LOG_DEBUGGER(ERROR) << "AddInspectedHeapObjectParams::Create " << error;
1011 std::string error;
1018 error += "Failed to convert 'objectId' from string to int;";
1021 error += "Wrong type of 'objectId';";
1024 if (!error.empty()) {
1025 LOG_DEBUGGER(ERROR) << "GetHeapObjectIdParams::Create " << error;
1034 std::string error;
1041 error += "Failed to convert 'objectId' from string to int;";
1044 error += "Wrong type of 'objectId';";
1052 error += "Wrong type of 'objectGroup';";
1055 if (!error.empty()) {
1056 LOG_DEBUGGER(ERROR) << "GetObjectByHeapObjectIdParams::Create " << error;
1065 std::string error;
1073 error += "Wrong type of 'callCount';";
1081 error += "Wrong type of 'detailed';";
1089 error += "Wrong type of 'allowTriggeredUpdates';";
1092 if (!error.empty()) {
1093 LOG_DEBUGGER(ERROR) << "StartPreciseCoverageParams::Create " << error;
1102 std::string error;
1110 error += "Unknown or wrong type of 'interval';";
1113 if (!error.empty()) {
1114 LOG_DEBUGGER(ERROR) << "SetSamplingIntervalParams::Create " << error;
1122 std::string error;
1131 error += "Unknown or wrong type of 'syncId';";
1134 if (!error.empty()) {
1135 LOG_DEBUGGER(ERROR) << "RecordClockSyncMarkerParams::Create " << error;
1144 std::string error;
1153 error += "Wrong type of 'deterministic';";
1162 error += "'levelOfDetail' is invalid;";
1165 error += "Wrong type of 'levelOfDetail';";
1168 if (!error.empty()) {
1169 LOG_DEBUGGER(ERROR) << "RequestMemoryDumpParams::Create " << error;
1178 std::string error;
1187 error += "Wrong type of 'categories';";
1195 error += "Wrong type of 'options';";
1203 error += "Wrong type of 'bufferUsageReportingInterval';";
1212 error += "'transferMode' is invalid;";
1215 error += "Wrong type of 'transferMode';";
1224 error += "'streamFormat' is invalid;";
1227 error += "Wrong type of 'streamFormat';";
1236 error += "'streamCompression' is invalid;";
1239 error += "Wrong type of 'streamCompression';";
1247 error += "'traceConfig' format is invalid;";
1252 error += "Wrong type of 'traceConfig';";
1260 error += "Wrong type of 'perfettoConfig';";
1269 error += "'tracingBackend' is invalid;";
1272 error += "Wrong type of 'tracingBackend';";
1275 if (!error.empty()) {
1276 LOG_DEBUGGER(ERROR) << "StartParams::Create " << error;
1287 std::string error;
1295 error += "Unknown or wrong type of 'threshold';";
1298 if (!error.empty()) {
1299 LOG_DEBUGGER(ERROR) << "SeriliazationTimeoutCheckEnableParams::Create " << error;