Interface GraphQLInvalidCredentialsError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLInvalidCredentialsError extends GraphQLErrorObject

Returned when a Customer with the given credentials (matching the given email/password pair) is not found and authentication fails.

The error is returned as a failed response to:

  • Authenticate (sign in) Customer and Authenticate (sign in) Customer in Store requests on Customers.
  • Authenticate (sign in) Customer and Authenticate (sign in) Customer in Store requests on My Customer Profile.

Example to create an instance using the builder pattern

     GraphQLInvalidCredentialsError graphQLInvalidCredentialsError = GraphQLInvalidCredentialsError.builder()
             .build()