Skip to content

InvalidCarryOverTypeError

autogen.InvalidCarryOverTypeError #

InvalidCarryOverTypeError(message='Carryover should be a string or a list of strings. Not adding carryover to the message.')

Bases: Exception

Exception raised when the carryover type is invalid.

Source code in autogen/exception_utils.py
def __init__(
    self, message: str = "Carryover should be a string or a list of strings. Not adding carryover to the message."
):
    self.message = message
    super().__init__(self.message)

message instance-attribute #

message = message