alreadyExists

Creates a credential already exists error.

Return

AlreadyExists exception instance

Parameters

credentialId

The ID of the credential that already exists

cause

Optional underlying cause