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
RequestResponse
public class LayoutServiceGraphQlException : SitecoreLayoutServiceClientException

Constructors

LayoutServiceGraphQlException(GraphQLError)

Initializes a new instance of the LayoutServiceGraphQlException class.

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

GraphQL Error of a GraphQL Query.

Properties

GraphQlError

Gets GraphQL Error of a GraphQL Query.

Declaration
RequestResponse
public GraphQLError GraphQlError { get; }
Property Value
TypeDescription
GraphQL.GraphQLError

Do you have some feedback for us?

If you have suggestions for improving this article,