UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

20 lines 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContextCreationError = exports.DEFAULT_CONFIG = void 0; exports.DEFAULT_CONFIG = { timeout: 30000, // 30 seconds retries: 3, retryDelay: 1000, // 1 second }; /** * Context creation error for invalid or missing context data */ class ContextCreationError extends Error { constructor(message, field) { super(message); this.field = field; this.name = 'ContextCreationError'; } } exports.ContextCreationError = ContextCreationError; //# sourceMappingURL=config.js.map