ErrorMessage

Direction: Server -> Client.

Constructor:

Signature:

def __init__(
self,
id: str,
payload: List[GraphQLFormattedError],
type: str = 'error',
) -> None:
...

Parameters:

  1. id:

    Type
    str
  2. payload:

    Type
    List[GraphQLFormattedError]
  3. type:

    Type
    str
    Default
    'error'

Attributes:

  1. id:

    Type
    str
  2. payload:

    Type
    List[GraphQLFormattedError]
  3. type:

    Type
    str