aboutsummaryrefslogtreecommitdiff
path: root/src/node/context.h
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2023-06-07 00:04:57 +0200
committerfurszy <matiasfurszyfer@protonmail.com>2023-06-08 16:38:36 -0300
commit3c06926cf21dcca3074ef51506f556b2286c299b (patch)
tree017eaa823a0f5065ae83c8d17d746158d91a3841 /src/node/context.h
parent9ddf7e03a35592617a016418fd320cc93c8d1abd (diff)
refactor: index: use `AbortNode` in fatal error helper
Deduplicates code in the `FatalError` template function by using `AbortNode` which does the exact same thing if called without any user message (i.e. without second parameter specified). The template is still kept for ease-of-use w.r.t. not having to call `tfm::format(...)` at the call-side each time, and also to keep the diff minimal.
Diffstat (limited to 'src/node/context.h')
0 files changed, 0 insertions, 0 deletions