feat: retry api requests when closed immediately due to overload

This commit is contained in:
Björn Fromme committed 2026-01-06 17:29:34 +01:00
1 parent 62fc734f82
commit 6008a1b2d9
3 files changed
+113 -2

No files matched your search

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace App\BusProNet\Exception;
/**
* Thrown when the BPN server closes the connection immediately without sending data.
*
* This typically indicates the server is busy processing other requests.
* Unlike a true timeout, this is a transient condition that may succeed on retry.
*/
class ImmediateConnectionCloseException extends ApiClientException
{
}