mrdocs::Error::Error
Constructor.
Synopsis
Declared in <mrdocs/Support/Error.hpp>
Error(
std::vector<Error> const& errors,
std::source_location loc = source_location::current());
Description
This constructs a new error from a list of zero or more errors. If the list is empty, or if all the errors in the list indicate success, then newly constructed object will indicate success.
Parameters
| Name | Description |
|---|---|
errors |
The list of errors to combine. |
loc |
The source location where the error occurred. |
Created with MrDocs