mrdocs::HandlebarsError
An error thrown or returned by Handlebars
Synopsis
Declared in <mrdocs/Support/Handlebars.hpp>
struct HandlebarsError
: std::runtime_error
Description
An error returned or thrown by Handlebars environment when an error occurs during template rendering.
The error message will be the same as the error message returned by Handlebars.js.
The object will also contain the line, column and position of the error in the template. These can be used to by the caller to provide more detailed error messages.
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
|
Returns a C‐style character string describing the general cause of the current error (the same string passed to the ctor). |