@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
17 lines • 798 B
TypeScript
import { Exception } from '@dolittle/rudiments';
import { ScopeId } from '@dolittle/sdk.events';
import { Key } from '../Key';
import { ProjectionId } from '../ProjectionId';
/**
* The exception that gets thrown when no state is returned for a projection.
*/
export declare class FailedToGetProjectionState extends Exception {
/**
* Creates a new instance of the {@link FailedToGetProjectionState} class.
* @param {ProjectionId} projection - The identifier of the projection that was retrieved.
* @param {ScopeId} scope - The scope of the projection that was retrieved.
* @param {Key} key - The key of the projection that was retrieved.
*/
constructor(projection: ProjectionId, scope: ScopeId, key: Key);
}
//# sourceMappingURL=FailedToGetProjectionState.d.ts.map