AppStateESS/homestead

View on GitHub
class/Exception/SOAPException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Homestead\Exception;

class SOAPException extends HMSException {

    public function __construct($message, $code = 0, $functionName, $params){
        parent::__construct($message, $code);
        $errorMsg = $functionName . '(' . implode(',', $params) . '): ' . $code;
        \PHPWS_Core::log($errorMsg, 'soapError.log', ('BannerError'));
    }
}