| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Curler\Exception; |
| 4: | |
| 5: | use Psr\Http\Message\RequestInterface as PsrRequestInterface; |
| 6: | |
| 7: | /** |
| 8: | * @api |
| 9: | */ |
| 10: | interface RequestException extends CurlerException |
| 11: | { |
| 12: | /** |
| 13: | * Get the request associated with the exception |
| 14: | */ |
| 15: | public function getRequest(): PsrRequestInterface; |
| 16: | } |
| 17: |