18 lines
358 B
PHP
Executable File
18 lines
358 B
PHP
Executable File
<?php
|
|
|
|
namespace Resend\Exceptions;
|
|
|
|
use Exception;
|
|
use Psr\Http\Client\ClientExceptionInterface;
|
|
|
|
class TransporterException extends Exception
|
|
{
|
|
/**
|
|
* Create a new Transporter exception.
|
|
*/
|
|
public function __construct(ClientExceptionInterface $exception)
|
|
{
|
|
parent::__construct($exception->getMessage(), 0, $exception);
|
|
}
|
|
}
|