51 std::optional<std::uint64_t>
reason,
52 std::optional<bool>
retry)
54 , message_{ std::move(
message) }
55 , reason_{ std::move(
reason) }
56 , retry_{ std::move(
retry) }
68 [[nodiscard]]
auto code() const -> std::uint64_t
81 [[nodiscard]]
auto message() const -> const std::
string&
94 [[nodiscard]]
auto reason() const -> const std::optional<std::uint64_t>&
107 [[nodiscard]]
auto retry() const -> const std::optional<
bool>&
113 std::uint64_t code_{};
114 std::string message_{};
115 std::optional<std::uint64_t> reason_{};
116 std::optional<bool> retry_{};
Represents a single warning returned from the query engine.
Definition query_warning.hxx:37
auto code() const -> std::uint64_t
Error code.
Definition query_warning.hxx:68
auto retry() const -> const std::optional< bool > &
Optional flag that indicates whether the request should be retried.
Definition query_warning.hxx:107
auto reason() const -> const std::optional< std::uint64_t > &
Optional reason code that clarifies the error code.
Definition query_warning.hxx:94
auto message() const -> const std::string &
Error message.
Definition query_warning.hxx:81
query_warning(std::uint64_t code, std::string message, std::optional< std::uint64_t > reason, std::optional< bool > retry)
Definition query_warning.hxx:49
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28