Returns a matcher that matches the StatusCode of a Status or Result . Do not use Raises(StatusCode::OK) to match a non error code.
| 327 | // Returns a matcher that matches the StatusCode of a Status or Result<T>. |
| 328 | // Do not use Raises(StatusCode::OK) to match a non error code. |
| 329 | inline ErrorMatcher Raises(StatusCode code) { return ErrorMatcher(code, std::nullopt); } |
| 330 | |
| 331 | // Returns a matcher that matches the StatusCode and message of a Status or Result<T>. |
| 332 | template <typename MessageMatcher> |