Interface InvalidCredentialsError

All Superinterfaces:
ErrorObject
All Known Implementing Classes:
InvalidCredentialsErrorImpl

public interface InvalidCredentialsError extends ErrorObject

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

     InvalidCredentialsError invalidCredentialsError = InvalidCredentialsError.builder()
             .message("{message}")
             .build()