WPDev.one
Core Class

InvalidArgument

class InvalidArgument // Constructor: function Object() { [native code] }

Exception for an invalid argument passed.

Methods 1 methods

Method / Return Description
create()
\WpOrg\Requests\Exception\InvalidArgument

Create a new invalid argument exception with a standardized text.

Parameters: $position: mixed, $name: mixed, $expected: mixed, $received: mixed

Class Information

Since Version
2.0.0
Source File
wp-includes/Requests/src/Exception/InvalidArgument.php
Advertisement