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

SAMConnection->errno()

SAMConnection->errno - Contains the unique numeric error code of the last executed SAM operation.

Syntax

SAMConnection->errno ()

Arguments

-

Description

Contains the numeric error code of the last executed SAM operation on this connection. If the last operation completed successfully this property contains 0.

Version

PHP PECL sam >= 0.1.0

Return value

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.