Home
last modified time | relevance | path

Searched refs:MakeError (Results 1 – 4 of 4) sorted by relevance

/system/extras/libjsonpb/parse/include/jsonpb/
Derror_or.h53 static ErrorOr<T> MakeError(const std::string& message) { in MakeError() function
67 inline ErrorOr<T> MakeError(const std::string& message) { in MakeError() function
68 return ErrorOr<T>::MakeError(message); in MakeError()
Djsonpb.h43 return MakeError<T>(error.error()); in JsonStringToMessage()
/system/extras/libjsonpb/parse/
Djsonpb.cpp51 return MakeError<std::string>(status.error_message().as_string()); in MessageToJsonString()
64 return MakeError<std::monostate>(status.error_message().as_string()); in JsonStringToMessage()
67 return MakeError<std::monostate>("Fail to parse."); in JsonStringToMessage()
/system/extras/libjsonpb/verify/
Dverify.cpp214 return MakeError<std::string>(res.error()); in FormatJson()