MCPcopy Index your code
hub / github.com/ampproject/amphtml / stripUserError

Function stripUserError

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

Source from the content-addressed store, hash-verified

51 * @return {string} The new message without USER_ERROR_SENTINEL
52 */
53export function stripUserError(message) {
54 return message.replace(USER_ERROR_SENTINEL, '');
55}

Callers 2

setErrorSuffix_Method · 0.90
getChannelErrorFunction · 0.90

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected