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 a global Customer (Sign-in) and Authenticate Customer (Sign-in) in a Store requests on Customers.
  • Authenticating Customer (Sign-in) and Authenticate Customer (Sign-in) in a Store requests on My Customer Profile.

Example to create an instance using the builder pattern

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