MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / checkErr

Function checkErr

html/js/base.js:119–132  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

117}
118
119function checkErr(obj) {
120 //alert(obj["err"])
121 //screenLog(obj["err"], "error")
122 console.log(obj);
123 var newObj = new Object();
124 var newErr = new Object();
125 newErr["key"] = "Error";
126 newErr["value"] = obj["err"];
127 newErr["type"] = "error";
128
129 newObj[0] = newErr
130 showLog(newObj);
131 return
132}
133
134function screenLog(msg, msgType, show) {
135 return

Callers

nothing calls this directly

Calls 1

showLogFunction · 0.85

Tested by

no test coverage detected