Class GraphQLError
Assembly: GraphZen.LanguageModel.dll
Syntax
public class GraphQLError
Constructors
GraphQLError(String, IReadOnlyList<SyntaxNode>, Source, IReadOnlyList<Int32>, IReadOnlyList<Object>, Exception)
Declaration
public GraphQLError(string message, IReadOnlyList<SyntaxNode> nodes = null, Source source = null, IReadOnlyList<int> positions = null, IReadOnlyList<object> path = null, Exception innerException = null)
Parameters
Properties
InnerException
Declaration
[JsonIgnore]
public Exception InnerException { get; }
Property Value
Locations
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public IReadOnlyList<SourceLocation> Locations { get; }
Property Value
Message
Declaration
public string Message { get; }
Property Value
Nodes
Declaration
[JsonIgnore]
public IReadOnlyList<SyntaxNode> Nodes { get; }
Property Value
Path
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public IReadOnlyList<object> Path { get; }
Property Value
Positions
Declaration
[JsonIgnore]
public IReadOnlyList<int> Positions { get; }
Property Value
Source
Declaration
[JsonIgnore]
public Source Source { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Throw()
Declaration
ToString()
Declaration
public override string ToString()
Returns
Overrides
WithLocationInfo(IReadOnlyList<SyntaxNode>, ResponsePath)
Declaration
public GraphQLError WithLocationInfo(IReadOnlyList<SyntaxNode> nodes, ResponsePath path)
Parameters
Returns