| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Http\Exception; |
| 4: | |
| 5: | /** |
| 6: | * @api |
| 7: | */ |
| 8: | interface InvalidHeaderException extends HttpException |
| 9: | { |
| 10: | /** |
| 11: | * Get the status code to return if a response is derived from the exception |
| 12: | */ |
| 13: | public function getStatusCode(): ?int; |
| 14: | } |
| 15: |