UNPKG

n8n-nodes-salutespeech

Version:

User-friendly SaluteSpeech (Sber) community node

26 lines 842 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthenticationError = exports.ResponseError = exports.SaluteSpeechException = void 0; class SaluteSpeechException extends Error { constructor(response) { super(response.data); this.name = 'GigaChatException'; this.response = response; } } exports.SaluteSpeechException = SaluteSpeechException; class ResponseError extends SaluteSpeechException { constructor(response) { super(response); this.name = 'ResponseError'; } } exports.ResponseError = ResponseError; class AuthenticationError extends ResponseError { constructor(response) { super(response); this.name = 'AuthenticationError'; } } exports.AuthenticationError = AuthenticationError; //# sourceMappingURL=exception.js.map