UNPKG

@dolittle/sdk.services

Version:

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

13 lines 464 B
import * as grpc from '@grpc/grpc-js'; /** * Defines an error thrown from the gRPC library. */ export interface GrpcError extends Error, grpc.StatusObject { } /** * Checks whether the given error is a {@link GrpcError} or not. * @param {any} error - The error to check. * @returns {boolean} True if the error is a {@link GrpcError}, false if not. */ export declare function isGrpcError(error: any): error is GrpcError; //# sourceMappingURL=GrpcError.d.ts.map