芝麻web文件管理V1.00
编辑当前文件:/home/ezdajrnh/public_html/wp-content/plugins/facebook-for-woocommerce/includes/API/Response.php
id; } /** * Determines whether the response includes an API error. * * @link https://developers.facebook.com/docs/graph-api/using-graph-api/error-handling#handling-errors * * @since 2.0.0 * * @return boolean */ public function has_api_error() { return (bool) $this->error; } /** * Gets the API error type. * * @since 2.0.0 * * @return string|null */ public function get_api_error_type() { return $this->error['type'] ?? null; } /** * Gets the API error message. * * @since 2.0.0 * * @return string|null */ public function get_api_error_message() { return $this->error['message'] ?? null; } /** * Gets the API error code. * * @since 2.0.0 * * @return int|null */ public function get_api_error_code() { return $this->error['code'] ?? null; } /** * Gets the user error message. * * @since 2.1.0 * * @return string|null */ public function get_user_error_message() { return $this->error['error_user_msg'] ?? null; } }