You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/app/Services/Cloud/CloudAgentError.php

21 lines
671 B
PHP

<?php
namespace App\Services\Cloud;
final class CloudAgentError extends CloudError
{
public function __construct(
string $message,
int $httpStatus,
public readonly string $agentCode,
public readonly bool $retryable = false,
public readonly ?int $agentHttpStatus = null,
/** Exact terminal no-journal envelope (validation/auth/route contract). */
public readonly bool $safeValidationFailure = false,
/** Exact proof that the durable operation journal was never entered. */
public readonly bool $safePreDispatchFailure = false
) {
parent::__construct($message, $httpStatus);
}
}