Lines Matching refs:unexpected
145 return android::base::unexpected(std::move(*this));
151 return android::base::unexpected(*this);
174 return android::base::unexpected(ResultError<E, false>(code_));
225 return android::base::unexpected(ResultError<P>(str(), static_cast<P>(code_)));
231 return android::base::unexpected(ResultError<P, false>(static_cast<P>(code_)));
344 operator T() const& { return unexpected(error_); }
345 operator T() && { return unexpected(std::move(error_)); }
363 operator expected<type, ErrorType<T>>() const& { return unexpected(this->error_); } \
364 operator expected<type, ErrorType<T>>()&& { return unexpected(std::move(this->error_)); }
436 return unexpected(this->error_);
439 return unexpected(std::move(this->error_));
450 return unexpected(this->error_);
454 return unexpected(std::move(this->error_));
459 return unexpected(this->error_);
463 return unexpected(std::move(this->error_));