MCPcopy Create free account
hub / github.com/DHTMLX/gantt / _tryProcess

Method _tryProcess

scripts/backend/router.js:14–20  ·  view source on GitHub ↗
(code, req, res)

Source from the content-addressed store, hash-verified

12 }
13
14 _tryProcess(code, req, res) {
15 try {
16 code.call(this, req, res);
17 } catch (e) {
18 res.send({action: actions.error, message: e.message});
19 }
20 }
21
22 getData(req, res) {
23 res.send(this.storage.all());

Callers 7

insertTaskMethod · 0.95
updateTaskMethod · 0.95
deleteTaskMethod · 0.95
insertLinkMethod · 0.95
updateLinkMethod · 0.95
deleteLinkMethod · 0.95
getDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected