blpapi.IndexOutOfRangeException

class blpapi.IndexOutOfRangeException(description, errorCode)

Bases: blpapi.Exception

Index out of range exception.

This class defines an exception to capture the error when an invalid index is used for an operation that needs index.

__init__(description, errorCode)

Create a blpapi exception

Parameters
  • description (str) – Description of the error

  • errorCode (int) – Code corresponding to the error