BedrockException
class BedrockException
Properties
| static protected list<string> | $insufficientCreditPatterns | Patterns that indicate an insufficient credits or quota error. |
Methods
static AiException
toAiException(Throwable $e, string $provider, string $model)
Create a new AI exception from an AWS Bedrock exception.
static bool
isInsufficientCreditsError(Throwable $e)
Determine if the given exception indicates an insufficient credits or quota error.
Details
at line 41
static AiException
toAiException(Throwable $e, string $provider, string $model)
Create a new AI exception from an AWS Bedrock exception.
at line 88
static protected bool
isInsufficientCreditsError(Throwable $e)
Determine if the given exception indicates an insufficient credits or quota error.