Lines Matching refs:errorMsg
155 $errorMsg = 'Rendering the page\'s syntax for the WYSIWYG editor failed: ';
156 $errorMsg .= $e->getMessage();
161 $errorMsg .= ' -- The error has been logged to Sentry.';
163 $errorMsg .= '<code>' . $e->getFile() . ':' . $e->getLine() . '</code>';
164 $errorMsg .= '<pre>' . $e->getTraceAsString() . '</pre>';
169 echo json_encode(['error' => $errorMsg]);
182 $errorMsg = 'Parsing the data generated by Prosemirror failed with message: "';
183 $errorMsg .= $e->getMessage();
184 $errorMsg .= '"';
187 $errorMsg .= ' -- The error has been logged to Sentry.';
192 echo json_encode(['error' => $errorMsg]);