blpapi.SubscriptionPreprocessError

class blpapi.SubscriptionPreprocessError(correlationId, subscriptionString, errorCode, description)

Class representing an error due to an invalid subscription.

class ErrorCode(value)

The error codes used by SubscriptionPreprocessError.

SUBSCRIPTIONPREPROCESS_CORRELATIONID_ERROR = 2

Error due to misuse of correlation id, such as using a duplicate.

SUBSCRIPTIONPREPROCESS_INVALID_SUBSCRIPTION_STRING = 1

Error due to an invalid subscription string.

__init__(correlationId, subscriptionString, errorCode, description)