The blockHelperMissing helper: renders a block for a missing block helper.

Synopsis

Declared in <mrdocs/Handlebars/Helpers/Builtin.hpp>

dom::Expected<void>
blockHelperMissingFn(
    dom::Value const& context,
    dom::Value options);

Return Value

dom's result type: the std::expected polyfill, defaulting the error to dom::Error (an explicit 2nd argument is allowed, e.g. Expected<void, E>).

Parameters

Name

Description

context

The block context value.

options

The Handlebars options object.

Created with MrDocs