Home
last modified time | relevance | path

Searched refs:error_chain_start (Results 1 – 2 of 2) sorted by relevance

/external/libbrillo/brillo/errors/
Derror.cc110 const Error* Error::FindErrorOfDomain(const Error* error_chain_start, in FindErrorOfDomain() argument
112 while (error_chain_start) { in FindErrorOfDomain()
113 if (error_chain_start->GetDomain() == domain) in FindErrorOfDomain()
115 error_chain_start = error_chain_start->GetInnerError(); in FindErrorOfDomain()
117 return error_chain_start; in FindErrorOfDomain()
120 const Error* Error::FindError(const Error* error_chain_start, in FindError() argument
123 while (error_chain_start) { in FindError()
124 if (error_chain_start->GetDomain() == domain && in FindError()
125 error_chain_start->GetCode() == code) in FindError()
127 error_chain_start = error_chain_start->GetInnerError(); in FindError()
[all …]
Derror.h86 static const Error* FindErrorOfDomain(const Error* error_chain_start,
92 static const Error* FindError(const Error* error_chain_start,