Package graphql.introspection
Class GoodFaithIntrospection.BadFaithIntrospectionError
- java.lang.Object
-
- graphql.introspection.GoodFaithIntrospection.BadFaithIntrospectionError
-
- All Implemented Interfaces:
GraphQLError
,java.io.Serializable
- Enclosing class:
- GoodFaithIntrospection
public static class GoodFaithIntrospection.BadFaithIntrospectionError extends java.lang.Object implements GraphQLError
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface graphql.GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>
-
-
Constructor Summary
Constructors Constructor Description BadFaithIntrospectionError(java.lang.String qualifiedField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorClassification
getErrorType()
java.util.List<SourceLocation>
getLocations()
java.lang.String
getMessage()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface graphql.GraphQLError
getExtensions, getPath, toSpecification
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage
in interfaceGraphQLError
- Returns:
- a description of the error intended for the developer as a guide to understand and correct the error
-
getErrorType
public ErrorClassification getErrorType()
- Specified by:
getErrorType
in interfaceGraphQLError
- Returns:
- an object classifying this error
-
getLocations
public java.util.List<SourceLocation> getLocations()
- Specified by:
getLocations
in interfaceGraphQLError
- Returns:
- the location(s) within the GraphQL document at which the error occurred. Each
SourceLocation
describes the beginning of an associated syntax element
-
-