Searched refs:maybe_error (Results 1 – 2 of 2) sorted by relevance
172 std::string_view GetErrorMessage(ActionOrError maybe_error) { in GetErrorMessage() argument173 switch (maybe_error) { in GetErrorMessage()
1233 auto maybe_error = [&](const Node* node, const Status& s) -> Status { in ValidateGraph() local1257 TF_RETURN_IF_ERROR(maybe_error(node, s)); in ValidateGraph()1262 TF_RETURN_IF_ERROR(maybe_error(node, s)); in ValidateGraph()1265 TF_RETURN_IF_ERROR(maybe_error(node, s)); in ValidateGraph()