wppaste
WordPress

InvalidArgumentException

Since
0.2.0
Source
wp-includes/php-ai-client/src/Common/Exception/InvalidArgumentException.php:15

Exception thrown when an invalid argument is provided.

Description

This extends PHP's built-in InvalidArgumentException while implementing the AI Client exception interface for consistent catch handling.

Source

class InvalidArgumentException extends \InvalidArgumentException implements AiClientExceptionInterface{}

History

Introduced in 0.2.0. Unchanged from 7.0.4 through 7.1.0.

  1. 7.0.4
  2. 7.1.0

Signature, return type and hooks compared across 2 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/php-ai-client/src/Common/Exception/InvalidArgumentException.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.