Home | History | Annotate | Download | only in apmanager

Lines Matching refs:Error

17 #include "apmanager/error.h"
21 #include <brillo/errors/error.h>
34 Error::Error() : type_(kSuccess) {}
36 Error::~Error() {}
38 void Error::Populate(Type type,
41 CHECK(type < kNumErrors) << "Error type out of range: " << type;
47 void Error::Reset() {
53 bool Error::ToDBusError(brillo::ErrorPtr* error) const {
65 brillo::Error::AddTo(error,
74 void Error::PopulateAndLog(Error* error,
79 LOG(ERROR) << "[" << file_name << "("
81 if (error) {
82 error->Populate(type, message, from_here);