MCPcopy
hub / github.com/thinkjs/thinkjs / fail

Function fail

lib/extend/controller.js:137–139  ·  view source on GitHub ↗

* send fail data

(errno, errmsg, data)

Source from the content-addressed store, hash-verified

135 * send fail data
136 */
137 fail(errno, errmsg, data) {
138 return this.ctx.fail(errno, errmsg, data);
139 },
140 /**
141 * set expires header
142 * @param {Number} time

Callers

nothing calls this directly

Calls 1

failMethod · 0.65

Tested by

no test coverage detected