blpapi.InvalidConversionException#

class blpapi.InvalidConversionException(description, errorCode)#

Bases: Exception

Invalid conversion exception.

This class defines an exception for invalid conversion of data.

__init__(description, errorCode)#

Create a blpapi exception

Parameters:
  • description (str) – Description of the error

  • errorCode (Optional[int]) – Code corresponding to the error

add_note(object, /)#

Exception.add_note(note) – add a note to the exception