| Current Path : /home/rtorresani/www/vendor/stripe/module-payments/Exception/ |
| Current File : //home/rtorresani/www/vendor/stripe/module-payments/Exception/WebhookException.php |
<?php
namespace StripeIntegration\Payments\Exception;
class WebhookException extends \Magento\Framework\Exception\LocalizedException
{
public $statusCode;
public function __construct($msg, $statusCode = 400)
{
$this->statusCode = $statusCode;
if (is_string($msg))
parent::__construct(__($msg));
else
parent::__construct($msg);
}
}