|
Stomp::errorstomp_errorGets the last stomp error DescriptionObject oriented style (method):
public string Stomp::error
( void
)
Procedural style:
string stomp_error
( resource
$link
)Gets the last stomp error. Parameters
Return Values
Returns an error string or Examples
Example #1 Object oriented style
<?php The above example will output something similar to: bool(false) string(43) "Invalid transaction id: unknown-transaction"
Example #2 Procedural style
<?php The above example will output something similar to: bool(false) string(43) "Invalid transaction id: unknown-transaction" |