These are static, to be used with the set() wrapper define
| 38 | |
| 39 | // These are static, to be used with the set() wrapper define |
| 40 | void |
| 41 | Error::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 |
| 48 | void |
nothing calls this directly
no test coverage detected