WordPress\AiClient\Common\Exception

InvalidArgumentException{}WP 0.2.0└─ AiClientExceptionInterface

Exception thrown when an invalid argument is provided.

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

No Hooks.

Usage

$InvalidArgumentException = new InvalidArgumentException();
// use class methods

Methods

No Methods in class.

Changelog

Since 0.2.0 Introduced.

InvalidArgumentException{} code WP 7.0.2

class InvalidArgumentException extends \InvalidArgumentException implements AiClientExceptionInterface
{
}