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

Function httpReject

docs/app/js/sanddance-app.js:109033–109035  ·  view source on GitHub ↗

* Default http request handler that simply rejects.

()

Source from the content-addressed store, hash-verified

109031/**
109032 * Default http request handler that simply rejects.
109033 */ async function httpReject() {
109034 (0, _vegaUtil.error)("No HTTP fetch method available.");
109035}
109036const isValid = (_)=>_ != null && _ === _;
109037const isBoolean = (_)=>_ === "true" || _ === "false" || _ === true || _ === false;
109038const isDate = (_)=>!Number.isNaN(Date.parse(_));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected