@PublicApi public class SerializationError extends java.lang.Object implements GraphQLError
Constructor and Description |
---|
SerializationError(ResultPath path,
CoercingSerializeException exception) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ErrorType |
getErrorType() |
CoercingSerializeException |
getException() |
java.util.Map<java.lang.String,java.lang.Object> |
getExtensions() |
java.util.List<SourceLocation> |
getLocations() |
java.lang.String |
getMessage() |
java.util.List<java.lang.Object> |
getPath()
The graphql spec says that the (optional) path field of any error should be a list
of path entries - http://facebook.github.io/graphql/#sec-Errors
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toSpecification
public SerializationError(ResultPath path, CoercingSerializeException exception)
public CoercingSerializeException getException()
public java.lang.String getMessage()
getMessage
in interface GraphQLError
public java.util.List<SourceLocation> getLocations()
getLocations
in interface GraphQLError
SourceLocation
describes the beginning of an associated syntax elementpublic ErrorType getErrorType()
getErrorType
in interface GraphQLError
public java.util.List<java.lang.Object> getPath()
GraphQLError
getPath
in interface GraphQLError
public java.util.Map<java.lang.String,java.lang.Object> getExtensions()
getExtensions
in interface GraphQLError
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object