original_string: protected function getErrorFromFault(\SoapFault $fault)
      {
          $error = $this->getErrorByCode($fault->faultcode, $fault->faultstring);
  
          if (empty($error->getMessage())) {
              $error->setMessage(isset($fault->detail) ? $fault->detail->message : $fault->faultstring);
          }
  
          return $error;
      }
code: protected function getErrorFromFault(\SoapFault $fault)
      {
          $error = $this->getErrorByCode($fault->faultcode, $fault->faultstring);
  
          if (empty($error->getMessage())) {
              $error->setMessage(isset($fault->detail) ? $fault->detail->message : $fault->faultstring);
          }
  
          return $error;
      }
code_tokens: protected function getErrorFromFault ( \ SoapFault $ fault ) { $ error = $ this -> getErrorByCode ( $ fault -> faultcode , $ fault -> faultstring ) ; if ( empty ( $ error -> getMessage ( ) ) ) { $ error -> setMessage ( isset ( $ fault -> detail ) ? $ fault -> detail -> message : $ fault -> faultstring ) ; } return $ error ; }
docstring: Get error from Fault Exception.
  
  @param \SoapFault $fault
  
  @return Error
docstring_tokens: Get error from Fault Exception .