Class SerializationError
java.lang.Object
graphql.SerializationError
- All Implemented Interfaces:
GraphQLError, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface GraphQLError
GraphQLError.Builder<B> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()The graphql spec says that the (optional) path field of any error should be a list of path entries https://spec.graphql.org/October2021/#sec-Handling-Field-ErrorsinthashCode()private StringmkMessage(ResultPath path, CoercingSerializeException exception) toString()Methods inherited from interface GraphQLError
toSpecification
-
Field Details
-
message
-
path
-
exception
-
-
Constructor Details
-
SerializationError
-
-
Method Details
-
mkMessage
-
getException
-
getMessage
- Specified by:
getMessagein interfaceGraphQLError- Returns:
- a description of the error intended for the developer as a guide to understand and correct the error
-
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
-
getPath
Description copied from interface:GraphQLErrorThe graphql spec says that the (optional) path field of any error should be a list of path entries https://spec.graphql.org/October2021/#sec-Handling-Field-Errors- Specified by:
getPathin interfaceGraphQLError- Returns:
- the path in list format
-
getExtensions
- Specified by:
getExtensionsin interfaceGraphQLError- Returns:
- a map of error extensions or null if there are none
-
toString
-
equals
-
hashCode
-