LastServerErrText Property

See Also
Example
Applies To

OraDatabase

OraSession

Description

Returns the textual message associated with the current LastServerErr of the specified object. Not available at design time and read-only at run time.

Usage

error_text = orasession.LastServerErrText

error_text = oradatabase.LastServerErrText

Remarks

The returned value indicates one of three possible states:

  1. If NULL is returned, an Oracle Call Interface (OCI) database function has not returned an error since the most recent LastServerErrReset.

  2. If a non-NULL value is returned, an OCI function has returned an error code; the returned string is the associated message.

  3. If the message is empty, then additional information was not available.

Data Type

String