Home > PHP > Function > SAM > SAMConnection->error()

SAMConnection->error()

SAMConnection->error - Contains the text description of the last failed SAM operation.

Syntax

SAMConnection->error ()

Arguments

-

Description

Contains the text description of the last failed SAM operation on this connection. If the last operation completed successfully this property contains an empty string.

Version

PHP PECL sam >= 0.1.0

Return value

A string containing the text description of the last error type encountered on the connection. An empty string indicates that the last operation on this connection completed successfully.