Skip to content

Commit

Permalink
reorder list
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanratna committed Dec 24, 2024
1 parent e837fb9 commit f98c75c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Transporters/HttpTransporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,16 @@ protected function throwIfJsonError(ResponseInterface $response, string $content
protected function isResendError(string $errorName): bool
{
$errors = [
'missing_api_key',
'restricted_api_key',
'validation_error',
'not_found',
'application_error',
'daily_quota_exceeded',
'invalid_attachment',
'missing_api_key',
'missing_required_field',
'daily_quota_exceeded',
'not_found',
'rate_limit_exceeded',
'restricted_api_key',
'security_error',
'application_error',
'validation_error',
];

return in_array($errorName, $errors);
Expand Down

0 comments on commit f98c75c

Please sign in to comment.