An error thrown or returned by Handlebars

Synopsis

Declared in <mrdocs/Support/Handlebars.hpp>

struct HandlebarsError
    : std::runtime_error

Base Classes

Name

Description

std::runtime_error

Member Functions

Name

Description

HandlebarsError [constructor]

Constructors

operator=

what [virtual]

Data Members

Name

column

line

pos

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.

Created with MrDocs