LLMS_Abstract_API_Handler::set_error( string $message, string $type, object $obj )
Set an Error Sets all error variables and sets the result as a WP_Error so the result can always be tested with is_wp_error()
Description Description
Parameters Parameters
- $message
-
(Required) error message
- $type
-
(Required) error code or type
- $obj
-
(Required) full error object or api response
Return Return
(void)
Source Source
File: includes/abstracts/llms.abstract.api.handler.php
Changelog Changelog
Version | Description |
---|---|
3.11.2 | Introduced. |