1. LayoutServiceGraphQlException

Class LayoutServiceGraphQlException

Version: 21.x

Details an exception that may occur when communicating with the Sitecore layout service.

Inheritance
System.Object
LayoutServiceGraphQlException
Namespace: Sitecore.LayoutService.Client.RequestHandlers.GraphQL
Assembly: Sitecore.LayoutService.Client.dll
Syntax
public class LayoutServiceGraphQlException : SitecoreLayoutServiceClientException

Constructors

LayoutServiceGraphQlException(GraphQLError)

Initializes a new instance of the LayoutServiceGraphQlException class.

Declaration
public LayoutServiceGraphQlException(GraphQLError error)
Parameters
TypeNameDescription
GraphQL.GraphQLErrorerror

GraphQL Error of a GraphQL Query.

Properties

GraphQlError

Gets GraphQL Error of a GraphQL Query.

Declaration
public GraphQLError GraphQlError { get; }
Property Value
TypeDescription
GraphQL.GraphQLError
If you have suggestions for improving this article, let us know!