![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Typedefs | |
| using | Error = triton::client::Error |
Functions | |
| template<typename C > | |
| std::string | printColl (const C &coll, const std::string &delim) |
| void | throwIfError (const Error &err, std::string_view msg) |
| bool | warnIfError (const Error &err, std::string_view msg) |
| using triton_utils::Error = typedef triton::client::Error |
Definition at line 12 of file triton_utils.h.
| std::string triton_utils::printColl | ( | const C & | coll, |
| const std::string & | delim | ||
| ) |
Definition at line 15 of file triton_utils.cc.
References util::begin(), and util::end().
Referenced by lartriton::TritonClient::TritonClient(), and warnIfError().
| void triton_utils::throwIfError | ( | const Error & | err, |
| std::string_view | msg | ||
| ) |
Definition at line 26 of file triton_utils.cc.
Referenced by lartriton::TritonData< IO >::fromServer(), lartriton::TritonData< IO >::toServer(), and lartriton::TritonClient::TritonClient().
| bool triton_utils::warnIfError | ( | const Error & | err, |
| std::string_view | msg | ||
| ) |
Definition at line 31 of file triton_utils.cc.
References MF_LOG_WARNING, and printColl().
Referenced by lartriton::TritonClient::evaluate(), lartriton::TritonClient::getResults(), and lartriton::TritonClient::getServerSideStatus().