| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 50 lines (1 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
TokenLimitReachedException:: (2 methods):
__construct()
getMaxTokens()
Class: TokenLimitReachedException - X-Ref
Exception thrown when a token limit is reached during prompt fulfillment.| __construct(string $message = '', ?int $maxTokens = null, ?\Throwable $previous = null) X-Ref |
| Creates a new TokenLimitReachedException. param: string $message The exception message. param: int|null $maxTokens The token limit that was reached, if known. param: \Throwable|null $previous The previous throwable used for exception chaining. |
| getMaxTokens() X-Ref |
| Returns the token limit that was reached, if known. return: int|null The token limit, or null if not provided. |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |