Class BeanValidationError
- java.lang.Object
-
- io.smallrye.graphql.cdi.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(jakarta.validation.ConstraintViolation<Object> violation, List<graphql.language.NamedNode<?>> requestedPath)
-
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
-
-