Home
last modified time | relevance | path

Searched defs:ErrorOr (Results 1 – 1 of 1) sorted by relevance

/system/extras/libjsonpb/parse/include/jsonpb/
Derror_or.h29 struct ErrorOr { struct
31 explicit ErrorOr(Args&&... args) : data_(kIndex1, std::forward<Args>(args)...) {} in ErrorOr() function
53 static ErrorOr<T> MakeError(const std::string& message) { in MakeError() argument
61 ErrorOr(const std::string& msg, Tag) : data_(kIndex0, msg) {} in ErrorOr() function
67 inline ErrorOr<T> MakeError(const std::string& message) { in MakeError() argument