gtopt::ConstraintParseError class

Parser-time diagnostic error.

Inherits from std::invalid_argument so existing CHECK_THROWS_AS fixtures keep working. In addition to the formatted message (which includes a caret pointer and an optional hint), exposes the raw column position and the one-line hint for programmatic inspection.

Constructors, destructors, conversion operators

ConstraintParseError(const std::string& formatted, std::string message, std::string hint, std::size_t column) noexcept

Public functions

auto column() const -> std::size_t noexcept
auto hint() const -> const std::string& noexcept
auto message() const -> const std::string& noexcept