comsave/salesforce-outbound-message-bundle

View on GitHub
src/Comsave/SalesforceOutboundMessageBundle/Exception/WsdlFileNotFound.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Comsave\SalesforceOutboundMessageBundle\Exception;

class WsdlFileNotFound extends SalesforceException
{
    public function __construct(string $wsdlPath, ?string $objectName = 'Could not find wsdl file.')
    {
        parent::__construct(
            sprintf(
                'WSDL details for object `%s` are not found. Looked for `%s`.',
                $objectName,
                $wsdlPath
            )
        );
    }
}