UNPKG

sjursen-digital-watchtower

Version:

A TypeScript Node.js SDK for Watchtower, an Intelligence as a Service (IaaS) platform that uses Google's Gemini AI model to transform traditional logging into an active intelligence system with predictive analytics and automated decision-making capabiliti

40 lines 1.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BATCH_SIZE_LIMIT = exports.ServerError = exports.NotFoundError = exports.AuthenticationError = exports.InvalidRequestError = exports.WatchtowerError = void 0; class WatchtowerError extends Error { constructor(message) { super(message); this.name = 'WatchtowerError'; } } exports.WatchtowerError = WatchtowerError; class InvalidRequestError extends WatchtowerError { constructor(message) { super(message); this.name = 'InvalidRequestError'; } } exports.InvalidRequestError = InvalidRequestError; class AuthenticationError extends WatchtowerError { constructor(message) { super(message); this.name = 'AuthenticationError'; } } exports.AuthenticationError = AuthenticationError; class NotFoundError extends WatchtowerError { constructor(message) { super(message); this.name = 'NotFoundError'; } } exports.NotFoundError = NotFoundError; class ServerError extends WatchtowerError { constructor(message) { super(message); this.name = 'ServerError'; } } exports.ServerError = ServerError; exports.BATCH_SIZE_LIMIT = 1000; //# sourceMappingURL=errors.js.map