Files
n8n-enterprise-unlocked/packages/cli/src/errors/credential-not-found.error.ts
T
2025-02-27 09:30:55 +02:00

8 lines
260 B
TypeScript

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}".`);
}
}