| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | namespace OpenSearch\Exception; |
| 6: | |
| 7: | /** |
| 8: | * Exception thrown when a 503 Service Unavailable HTTP error occurs. |
| 9: | */ |
| 10: | class ServiceUnavailableHttpException extends HttpException |
| 11: | { |
| 12: | public function __construct(string $message = '', array $headers = [], int $code = 0, ?\Throwable $previous = null) |
| 13: | { |
| 14: | parent::__construct(503, $message, $headers, $code, $previous); |
| 15: | } |
| 16: | } |
| 17: |