GraphqlSubscriptionErrorOptionsType
Details of the subscription a GraphqlSubscriptionError belongs to
Import
import { GraphqlSubscriptionErrorOptionsType } from "@hyper-fetch/graphql"
Source
Package
Preview
type GraphqlSubscriptionErrorOptionsType = {
errors: GraphQLFormattedError[];
payload: unknown;
topic: string;
}
Structure
GraphqlSubscriptionErrorOptionsType
| Name | Type | Description |
|---|---|---|
| errors | | Errors sent by the server with the
|
| payload | | Variables of the failed subscription |
| topic | | Topic of the failed subscription |
