32 std::pair<optional<FaceUri>, std::string>
35 optional<FaceUri> result;
38 [&result] (
const FaceUri& canonicalUri) { result = canonicalUri; },
39 [&error] (
const std::string& errorReason) { error = errorReason; },
41 ctx.
face.processEvents();
43 return {result, error};
46 std::pair<FindFace::Code, std::string>
48 const std::string& error,
49 const std::string& field)
51 std::string msg =
"Error during canonization of ";
55 msg +=
"'" + uri.toString() +
"': " + error;
context for command execution
time::nanoseconds getTimeout() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...