Package graphql.validation
Class ValidationError
java.lang.Object
graphql.validation.ValidationError
- All Implemented Interfaces:
GraphQLError
,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static ValidationError.Builder
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface graphql.GraphQLError
getPath, toSpecification
-
Method Details
-
getValidationErrorType
-
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
-
getDescription
-
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
-
getErrorType
- Specified by:
getErrorType
in interfaceGraphQLError
- Returns:
- an object classifying this error
-
getQueryPath
-
getExtensions
- Specified by:
getExtensions
in interfaceGraphQLError
- Returns:
- a map of error extensions or null if there are none
-
toString
-
equals
-
hashCode
public int hashCode() -
newValidationError
-