Automattic\WooCommerce\Vendor\GraphQL\Server
ServerConfig::setErrorsHandler
Method of the class: ServerConfig{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ServerConfig = new ServerConfig(); $ServerConfig->setErrorsHandler( $handler ): self;
- $handler(callable) (required)
- .
ServerConfig::setErrorsHandler() ServerConfig::setErrorsHandler code WC 10.8.1
public function setErrorsHandler(callable $handler): self
{
$this->errorsHandler = $handler;
return $this;
}