Home | History | Annotate | Download | only in pdx

Lines Matching refs:error_

14   ErrorStatus(int error) : error_{error} {}
15 int error() const { return error_; }
20 int error_;
29 Status() : error_{-1} {}
39 : error_{error_status.error()} {}
45 : value_{std::move(other.value_)}, error_{other.error_} {
46 other.error_ = -1;
52 error_ = other.error_;
54 other.error_ = -1;
62 error_ = 0;
66 error_ = error;
84 bool ok() const { return error_ == 0; }
87 bool empty() const { return error_ < 0; }
96 error_ = -1;
104 int error() const { return std::max(error_, 0); }
123 if (error_ > 0)
124 message = ErrorStatus::ErrorToString(error_);
130 int error_{0};
139 : error_{error_status.error()} {}
140 void SetValue() { error_ = 0; }
141 void SetError(int error) { error_ = error; }
152 bool ok() const { return error_ == 0; }
155 int error() const { return std::max(error_, 0); }
159 if (error_ > 0)
160 message = ErrorStatus::ErrorToString(error_);
165 int error_{0};