MCPcopy
hub / github.com/ampproject/amphtml / isUserErrorMessage

Function isUserErrorMessage

src/core/error/message-helpers.js:36–38  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

34 * @return {boolean} Whether this message was a user error.
35 */
36export function isUserErrorMessage(message) {
37 return message.indexOf(USER_ERROR_SENTINEL) >= 0;
38}
39
40/**
41 * @param {string} message

Callers 8

test-log.jsFile · 0.90
test-error.jsFile · 0.90
reportErrorForWinFunction · 0.90
reportErrorFunction · 0.90
getErrorReportDataFunction · 0.90
setErrorSuffix_Method · 0.90
draw3pFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected