Package io.smallrye.graphql.validation
Class BeanValidationError
java.lang.Object
io.smallrye.graphql.validation.BeanValidationError
- All Implemented Interfaces:
graphql.GraphQLError,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
graphql.GraphQLError.Builder<B extends graphql.GraphQLError.Builder<B>> -
Constructor Summary
ConstructorsConstructorDescriptionBeanValidationError(Set<jakarta.validation.ConstraintViolation<?>> violations, graphql.execution.ResultPath resultPath, List<graphql.language.SourceLocation> sourceLocations) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.GraphQLError
toSpecification
-
Constructor Details
-
BeanValidationError
-
-
Method Details
-
getErrorType
public graphql.ErrorClassification getErrorType()- Specified by:
getErrorTypein interfacegraphql.GraphQLError
-
getMessage
- Specified by:
getMessagein interfacegraphql.GraphQLError
-
getLocations
- Specified by:
getLocationsin interfacegraphql.GraphQLError
-
getPath
- Specified by:
getPathin interfacegraphql.GraphQLError
-
getExtensions
- Specified by:
getExtensionsin interfacegraphql.GraphQLError
-