(PECL gupnp >= 0.1.0)
gupnp_service_action_return_error — Return error code
$action
, int $error_code
[, string $error_description
] ) : boolReturn 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
в случае возникновения ошибки.