MCPcopy Create free account
hub / github.com/apache/arrow / ErrorMatcher

Method ErrorMatcher

cpp/src/arrow/testing/matchers.h:224–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222class ErrorMatcher {
223 public:
224 explicit ErrorMatcher(StatusCode code,
225 std::optional<testing::Matcher<std::string>> message_matcher)
226 : code_(code), message_matcher_(std::move(message_matcher)) {}
227
228 template <typename Res>
229 operator testing::Matcher<Res>() const { // NOLINT runtime/explicit

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected