Skip to main content
Version: v10.0.0

GraphqlSubscriptionErrorOptionsType

Details of the subscription a GraphqlSubscriptionError belongs to


Import
import { GraphqlSubscriptionErrorOptionsType } from "@hyper-fetch/graphql"

Preview​

type GraphqlSubscriptionErrorOptionsType = {
errors: GraphQLFormattedError[];
payload: unknown;
topic: string;
}

Structure​

GraphqlSubscriptionErrorOptionsType
NameTypeDescription
errors
GraphQLFormattedError[]

Errors sent by the server with the error message

payload
unknown

Variables of the failed subscription

topic
string

Topic of the failed subscription