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

Function getErrorMessageFromResponseSync

docs/app/js/sanddance-app.js:55399–55401  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

55397var _asyncToGenerator = require("@babel/runtime/helpers/esm/asyncToGenerator");
55398var _asyncToGeneratorDefault = parcelHelpers.interopDefault(_asyncToGenerator);
55399function getErrorMessageFromResponseSync(response) {
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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected