toml::parse_error class final

An error generated when parsing fails.

Contents

Public functions

auto description() const -> std::string_view noexcept
Returns a textual description of the error.
auto source() const -> const source_region& noexcept
Returns the region of the source document responsible for the error.

Function documentation

std::string_view toml::parse_error::description() const noexcept

Returns a textual description of the error.