MCPcopy Create free account
hub / github.com/microsoft/SandDance / getErrorMessageFromResponse

Function getErrorMessageFromResponse

docs/app/js/sanddance-app.js:55402–55404  ·  view source on GitHub ↗
(_x)

Source from the content-addressed store, hash-verified

55400 return "Failed to fetch resource ".concat(response.url, "(").concat(response.status, "): ").concat(response.statusText, " ");
55401}
55402function getErrorMessageFromResponse(_x) {
55403 return _getErrorMessageFromResponse.apply(this, arguments);
55404}
55405function _getErrorMessageFromResponse() {
55406 _getErrorMessageFromResponse = (0, _asyncToGeneratorDefault.default)((0, _regeneratorDefault.default).mark(function _callee(response) {
55407 var message, contentType;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected