Subject Re: [IBO] Question about EIB_ISCError
Author Geoff Worboys
> first of all best Season's Greetings to all of you.

And to you :-)

> I have a question about two properties of EIB_ISCError. ErrCode:
> isc_long, is quite intuitive :-) but ErrorCodes: TStringList, is a
> little less intuitive. What is its purpose ? I've found nothing in
> the online help. Are they errors related with the current operation
> ? I don't even know if a certain operation can raise more than one
> error at the same time.

In theory and error reported by the server can actually contain a
series of errors - althought usually subsequent errors occur as a
result of the first error.

IBO supports this by providing all error codes returned by the server
in the stringlist ErrorCodes, with one error code reported per line.

If you would like more information about how the EIB_ISCError
exceptions are assembled, open IB_Session.pas and look at the
procedure: TIB_SessionBase.HandleException
which is the method that formats the data provided in EIB_ISCError.


Geoff Worboys
Telesis Computing