SAMConnection->errno - Contains the unique numeric error code of the last executed SAM operation.
Contains the numeric error code of the last executed SAM operation on this connection. If the last operation completed successfully this property contains 0.
PHP PECL sam >= 0.1.0
An integer greater than zero indicates the last error type encountered on the connection. Zero indicates that the last operation on this connection completed successfully.