sdk.lusid.exceptions.ApiTypeError

exception ApiTypeError(msg, path_to_item=None, valid_classes=None, key_type=None)[source]

Raises an exception for TypeErrors

Parameters:

msg (str) – the exception message

Keyword Arguments:
  • path_to_item (list) – a list of keys an indices to get to the current_item None if unset

  • valid_classes (tuple) – the primitive classes that current item should be an instance of None if unset

  • key_type (bool) – False if our value is a value in a dict True if it is a key in a dict False if our item is an item in a list None if unset