strawberry.exceptions.InvalidUnionTypeError
The union is constructed with an invalid type.
Constructor:
Signature:
def __init__(    self,    union_name: str,    invalid_type: object,    union_definition: StrawberryUnion | None = None,) -> None:  ...Parameters:
-  
union_name:- Type
 -  
str 
 -  
invalid_type:- Type
 -  
object 
 -  
union_definition:- Type
 -  
StrawberryUnion | None - Default
 -  
None 
 
Attributes:
-  
invalid_type:- Type
 -  
object 
 -  
union_name: -  
union_definition: -  
frame: -  
message: -  
rich_message: -  
suggestion: -  
annotation_message: -  
exception_source:- Type
 -  
ExceptionSource | None