src/MICmdBase.cpp
bool CMICmdBase::HandleSBErrorWithFailure(
    const lldb::SBError &error, const std::function<void()> &errorHandler) {
  return HandleSBError(
      error, [] { return MIstatus::success; }, errorHandler);
}
//++
// Details: Short cut function to check MI command's execute status and
//          call specified handler function for error case.
// Type:    Method.
// Args:    error - (R) Error description object.
//          errorHandler - (R) function describing actions to execute
//          in case of fail status of passed SBError object.
// Return:  bool.
// Throws:  None.
//--
Short cut function to check MI command's execute status and
call specified handler function for error case.
Type:    Method.
Args:    error - (R) Error description object.
errorHandler - (R) function describing actions to execute
in case of fail status of passed SBError object.
Return:  bool.
Throws:  None.
Short cut function to check MI command ' s execute status and call specified handler function for error case . Type : Method . Args : error - ( R ) Error description object . errorHandler - ( R ) function describing actions to execute in case of fail status of passed SBError object . Return : bool . Throws : None .
bool CMICmdBase::HandleSBErrorWithFailure(
    const lldb::SBError &error, const std::function<void()> &errorHandler) {
  return HandleSBError(
      error, [] { return MIstatus::success; }, errorHandler);
}
bool CMICmdBase :: HandleSBErrorWithFailure ( const lldb :: SBError & error , const std :: function < void ( ) > & errorHandler ) { return HandleSBError ( error , [ ] { return MIstatus :: success ; } , errorHandler ) ; }
++
Details: Short cut function to check MI command's execute status and
call specified handler function for error case.
++ Details : Short cut function to check MI command ' s execute status and call specified handler function for error case .