| 49 | |
| 50 | template <typename... T> |
| 51 | inline static ReturnCode errorf( |
| 52 | const Status code, |
| 53 | const std::string& message, |
| 54 | T... args) { |
| 55 | return ReturnCode(code, fmt::format(message, args...)); |
| 56 | } |
| 57 | |
| 58 | inline ReturnCode try_chain( |
| 59 | const std::initializer_list<std::function<ReturnCode ()>>& op) { |
no test coverage detected