CQG API 4.0 - Revised
DataError Event
See Also  Send Feedback
cqg_error

Object where the error occurred.

Starting from CQG API v.3.0: CQGError object representing the current error.

error_description
Description of the error
CQGCEL Interface : DataError Event

Glossary Item Box

Description

This event is fired when CQGCEL detects some abnormal discrepancy between data expected and data received.

Syntax

Visual Basic
Public Event DataError( _
   ByVal cqg_error As Object, _
   ByVal error_description As String _
)

Parameters

cqg_error

Object where the error occurred.

Starting from CQG API v.3.0: CQGError object representing the current error.

error_description
Description of the error

Remarks

This event is also fired when CQGCEL startup fails.
For a list of error codes defined in CQG API see the Error Codes table.

Example

See implementation of DataError event handler in CQGCEL Example.


For its usage in CQG API v. 3.0, see the implementation of DataError event handler in the AccountChanged Event's example section.

See Also