strawberry.exceptions.InvalidTypeForUnionMergeError
A specialized version of InvalidUnionTypeError for when trying to merge unions using the pipe operator.
Constructor:
Signature:
def __init__(self, union: StrawberryUnion, other: object) -> None: ...Parameters:
-
union:- Type
-
StrawberryUnion
-
other:- Type
-
object
Attributes:
-
invalid_type:- Type
-
Type
-
union: -
other: -
frame: -
message: -
rich_message: -
suggestion: -
annotation_message: -
exception_source:- Type
-
ExceptionSource | None