@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
19 lines • 889 B
TypeScript
import { Exception } from '@dolittle/rudiments';
import { ScopeId } from '@dolittle/sdk.events';
import { Failure } from '@dolittle/sdk.protobuf';
import { Key } from '../Key';
import { ProjectionId } from '../ProjectionId';
/**
* Exception that gets thrown when getting a projection fails.
*/
export declare class FailedToGetProjection extends Exception {
/**
* Initialises a new instance of the {@link FailedToGetProjection} class.
* @param {ProjectionId} projection - The id of the projection to get.
* @param {ScopeId} scope - The scope of the projection to get.
* @param {Key | undefined} key - The optional key of the projection to get.
* @param {Failure} failure - The failure that occured.
*/
constructor(projection: ProjectionId, scope: ScopeId, key: Key | undefined, failure: Failure);
}
//# sourceMappingURL=FailedToGetProjection.d.ts.map