@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
18 lines • 933 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 the Runtime responds with a projection state with a wrong key when getting a single projection state from the store.
*/
export declare class WrongKeyReceivedFromRuntime extends Exception {
/**
* Initialises a new instance of the {@link WrongKeyReceivedFromRuntime} class.
* @param {ProjectionId} projection - The projection identifier.
* @param {ScopeId} scope - The scope identifier for the projection.
* @param {Key} expectedKey - The key that was requested.
* @param {string} receivedKey - The key that was received.
*/
constructor(projection: ProjectionId, scope: ScopeId, expectedKey: Key, receivedKey: string);
}
//# sourceMappingURL=WrongKeyReceivedFromRuntime.d.ts.map