Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
53
export
function
stripUserError(message) {
54
return
message.replace(USER_ERROR_SENTINEL,
''
);
55
}
Callers
2
setErrorSuffix_
Method · 0.90
getChannelError
Function · 0.90
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected