©
This document uses PHP Chinese website manual Release
(PECL gupnp >= 0.1.0)
gupnp_service_action_return_error — Return error code
$action
, int $error_code
[, string $error_description
] )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
GUPNP_CONTROL_ERROR_INVALID_ARGS
GUPNP_CONTROL_ERROR_OUT_OF_SYNC
GUPNP_CONTROL_ERROR_ACTION_FAILED
error_description
The error description.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。