19 #include "soss_client/soss_key.h"
20 #include "soss_pmicli.h"
22 namespace sosscli {
namespace exceptions {
39 return_code_ = psosspmi_exception->code;
40 exception_source_ = (psosspmi_exception->is_eval) ? ExceptionSource::EVAL : ExceptionSource::MERGE;
41 key_ =
SossKey(psosspmi_exception->key);
47 return_code_ = psosspmi_exception.code;
48 exception_source_ = (psosspmi_exception.is_eval) ? ExceptionSource::EVAL : ExceptionSource::MERGE;
49 key_ =
SossKey(psosspmi_exception.key);
74 unsigned long return_code_;
98 virtual const char*
what()
const throw()
100 return "Exceptions occurred during pmicli_invoke() originating from eval/merge callback functions; see inner pmi_exceptions for details.";