略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: gupnp_service_action_return_error

2024-04-26

gupnp_service_action_return_error

(PECL gupnp >= 0.1.0)

gupnp_service_action_return_errorReturn error code

说明

gupnp_service_action_return_error ( resource $action , int $error_code [, string $error_description ] ) : bool

Return error code.

参数

action

A service action identifier.

error_code

The error code. Signal can be one of the following values or user defined:

GUPNP_CONTROL_ERROR_INVALID_ACTION
The action name was invalid.
GUPNP_CONTROL_ERROR_INVALID_ARGS
The action arguments were invalid.
GUPNP_CONTROL_ERROR_OUT_OF_SYNC
Out of sync (deprecated).
GUPNP_CONTROL_ERROR_ACTION_FAILED
The action failed.
error_description

The error description.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.gupnp-service-action-return-error.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3