Package graphql.introspection
Class GoodFaithIntrospection.BadFaithIntrospectionError
java.lang.Object
graphql.introspection.GoodFaithIntrospection.BadFaithIntrospectionError
- All Implemented Interfaces:
GraphQLError
,Serializable
- Enclosing class:
GoodFaithIntrospection
public static class GoodFaithIntrospection.BadFaithIntrospectionError
extends Object
implements GraphQLError
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>
-
Method Summary
Modifier and TypeMethodDescriptiontooBigOperation
(String message) tooManyFields
(String fieldCoordinate) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface graphql.GraphQLError
getExtensions, getPath, toSpecification
-
Method Details
-
tooManyFields
public static GoodFaithIntrospection.BadFaithIntrospectionError tooManyFields(String fieldCoordinate) -
tooBigOperation
-
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
- Specified by:
getErrorType
in interfaceGraphQLError
- Returns:
- an object classifying this error
-
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
-
toString
-