blpapi.NotFoundException

class blpapi.NotFoundException(description, errorCode)

Bases: blpapi.Exception

Not found exception.

This class defines an exception to capture the error when an item is not found for an operation.

__init__(description, errorCode)

Create a blpapi exception

Parameters
  • description (str) – Description of the error

  • errorCode (int) – Code corresponding to the error