Skip to content

UndefinedNextAgentError

autogen.UndefinedNextAgentError #

UndefinedNextAgentError(message='The provided agents list does not overlap with agents in the group.')

Bases: Exception

Exception raised when the provided next agents list does not overlap with agents in the group.

Source code in autogen/exception_utils.py
def __init__(self, message: str = "The provided agents list does not overlap with agents in the group."):
    self.message = message
    super().__init__(self.message)

message instance-attribute #

message = message