n8n
Version:
n8n Workflow Automation Tool
13 lines • 598 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CredentialNotFoundError = void 0;
const n8n_workflow_1 = require("n8n-workflow");
class CredentialNotFoundError extends n8n_workflow_1.UserError {
constructor(credentialId, credentialType) {
super(credentialType
? `Credential with ID "${credentialId}" does not exist for type "${credentialType}".`
: `Credential with ID "${credentialId}" was not found.`);
}
}
exports.CredentialNotFoundError = CredentialNotFoundError;
//# sourceMappingURL=credential-not-found.error.js.map