Home
last modified time | relevance | path

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

/external/libbrillo/brillo/errors/
Derror.cc113 const Error* Error::FindErrorOfDomain(const Error* error_chain_start, in FindErrorOfDomain() argument
115 while (error_chain_start) { in FindErrorOfDomain()
116 if (error_chain_start->GetDomain() == domain) in FindErrorOfDomain()
118 error_chain_start = error_chain_start->GetInnerError(); in FindErrorOfDomain()
120 return error_chain_start; in FindErrorOfDomain()
123 const Error* Error::FindError(const Error* error_chain_start, in FindError() argument
126 while (error_chain_start) { in FindError()
127 if (error_chain_start->GetDomain() == domain && in FindError()
128 error_chain_start->GetCode() == code) in FindError()
130 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,