UNPKG

@dolittle/sdk.services

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

20 lines 1.11 kB
"use strict"; // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. Object.defineProperty(exports, "__esModule", { value: true }); exports.PingTimeout = void 0; const rxjs_1 = require("rxjs"); /** * Exception that gets thrown when the a Ping is not received from the Server in the specified amount of time. */ class PingTimeout extends rxjs_1.TimeoutError { /** * Initializes a new instance of {@link PingTimeout}. */ constructor() { super(); this.message = 'Waiting for Ping from Server timed out'; } } exports.PingTimeout = PingTimeout; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGluZ1RpbWVvdXQuanMiLCJzb3VyY2VSb290IjoiLi4vIiwic291cmNlcyI6WyJQaW5nVGltZW91dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0NBQStDO0FBQy9DLHFHQUFxRzs7O0FBRXJHLCtCQUFvQztBQUVwQzs7R0FFRztBQUNILE1BQWEsV0FBWSxTQUFRLG1CQUFZO0lBRXpDOztPQUVHO0lBQ0g7UUFDSSxLQUFLLEVBQUUsQ0FBQztRQUNSLElBQUksQ0FBQyxPQUFPLEdBQUcsd0NBQXdDLENBQUM7SUFDNUQsQ0FBQztDQUNKO0FBVEQsa0NBU0MifQ==