n8cn / packages /cli /src /errors /credential-not-found.error.ts
gallyga's picture
Add n8n Chinese version
aec3094
import { UserError } from 'n8n-workflow';
export class CredentialNotFoundError extends UserError {
constructor(credentialId: string, credentialType: string) {
super(`Credential with ID "${credentialId}" does not exist for type "${credentialType}".`);
}
}