Searched refs:ResultError (Results 1 – 3 of 3) sorted by relevance
83 struct ResultError { struct85 ResultError(T&& error_string, int error_errno) in ResultError() argument92 inline std::ostream& operator<<(std::ostream& os, const ResultError& t) { argument97 inline std::ostream& operator<<(std::ostream& os, ResultError&& t) {113 Error&& operator<<(const ResultError& result_error) {119 Error&& operator<<(ResultError&& result_error) {166 Result(const ResultError& result_error) in Result()169 Result(ResultError&& result_error) in Result()182 const ResultError& error() const & { return std::get<1>(contents_); } in error()183 ResultError&& error() && { return std::get<1>(std::move(contents_)); } in error()[all …]
323 return ResultError(failure.error_string(), failure.error_errno()); in Execute()347 return ResultError(failure.error_string(), failure.error_errno()); in ExpandArgs()
296 return Result<Success>(ResultError("failure string", 6)); in TEST()