MCPcopy Create free account
hub / github.com/apache/trafficserver / _set

Method _set

src/cripts/Error.cc:40–45  ·  view source on GitHub ↗

These are static, to be used with the set() wrapper define

Source from the content-addressed store, hash-verified

38
39// These are static, to be used with the set() wrapper define
40void
41Error::Reason::_set(cripts::Context *context, const cripts::string_view msg)
42{
43 context->state.error.Fail();
44 context->state.error._reason._setter(msg);
45}
46
47// For convenience, an optional Reason message can also be specified with the status
48void

Callers

nothing calls this directly

Calls 5

RedirectedMethod · 0.80
RedirectMethod · 0.80
FailMethod · 0.45
_setterMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected