Class BaseError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.schema.idl.errors.BaseError
- All Implemented Interfaces:
GraphQLError, Serializable
- Direct Known Subclasses:
DirectiveIllegalArgumentTypeError, DirectiveIllegalLocationError, DirectiveIllegalReferenceError, DirectiveMissingNonNullArgumentError, DirectiveRedefinitionError, DirectiveUndeclaredError, DirectiveUnknownArgumentError, IllegalNameError, InterfaceFieldArgumentNotOptionalError, InterfaceFieldArgumentRedefinitionError, InterfaceFieldRedefinitionError, InterfaceImplementedMoreThanOnceError, InterfaceImplementingItselfError, InterfaceWithCircularImplementationHierarchyError, MissingInterfaceFieldArgumentsError, MissingInterfaceFieldError, MissingInterfaceTypeError, MissingScalarImplementationError, MissingTransitiveInterfaceError, MissingTypeError, MissingTypeResolverError, NonSDLDefinitionError, NonUniqueArgumentError, NonUniqueDirectiveError, NonUniqueNameError, NotAnInputTypeError, NotAnOutputTypeError, OperationRedefinitionError, OperationTypesMustBeObjects, QueryOperationMissingError, SchemaMissingError, SchemaRedefinitionError, TypeExtensionDirectiveRedefinitionError, TypeExtensionEnumValueRedefinitionError, TypeExtensionFieldRedefinitionError, TypeExtensionMissingBaseTypeError, TypeRedefinitionError, UnionTypeError
-
Nested Class Summary
Nested classes/interfaces inherited from interface GraphQLError
GraphQLError.Builder<B> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from interface GraphQLError
getExtensions, getMessage, getPath, toSpecification
-
Field Details
-
NO_WHERE
-
node
-
-
Constructor Details
-
BaseError
-
-
Method Details
-
lineCol
-
getLocations
- Specified by:
getLocationsin interfaceGraphQLError- Returns:
- the location(s) within the GraphQL document at which the error occurred. Each
SourceLocationdescribes the beginning of an associated syntax element
-
getErrorType
- Specified by:
getErrorTypein interfaceGraphQLError- Returns:
- an object classifying this error
-
toString
-
equals
-
hashCode
-