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