blpapi.Exception

class blpapi.Exception(description, errorCode)

Bases: Exception

This class defines a base exception for blpapi operations.

Objects of this class contain the error description for the exception.

__init__(description, errorCode)

Create a blpapi exception

Parameters
  • description (str) – Description of the error

  • errorCode (int) – Code corresponding to the error