Package io.smallrye.graphql.validation
Class BeanValidationError
- java.lang.Object
-
- io.smallrye.graphql.validation.BeanValidationError
-
- All Implemented Interfaces:
graphql.GraphQLError,Serializable
public class BeanValidationError extends Object implements graphql.GraphQLError
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanValidationError(Set<jakarta.validation.ConstraintViolation<?>> violations, graphql.execution.ResultPath resultPath, List<graphql.language.SourceLocation> sourceLocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.ErrorClassificationgetErrorType()Map<String,Object>getExtensions()List<graphql.language.SourceLocation>getLocations()StringgetMessage()List<Object>getPath()
-
-
-
Method Detail
-
getErrorType
public graphql.ErrorClassification getErrorType()
- Specified by:
getErrorTypein interfacegraphql.GraphQLError
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfacegraphql.GraphQLError
-
getLocations
public List<graphql.language.SourceLocation> getLocations()
- Specified by:
getLocationsin interfacegraphql.GraphQLError
-
-