already Exists
fun alreadyExists(credentialId: String, cause: Throwable? = null): CredentialException.AlreadyExists
Creates a credential already exists error.
Return
AlreadyExists exception instance
Parameters
credential Id
The ID of the credential that already exists
cause
Optional underlying cause