mrdocs::Error::Error

Constructor.

Synopsis

Declared in <mrdocs/Support/Error.hpp>

explicit
Error(
    std::string reason,
    std::source_location loc = source_location::current());

Parameters

Name Description

reason

A string indicating the cause of the failure. This must not be empty.

loc

The source location where the error occurred.

Created with MrDocs