@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
15 lines • 711 B
TypeScript
import { Exception } from '@dolittle/rudiments';
import { EventType } from '@dolittle/sdk.events';
import { ProjectionId } from './ProjectionId';
/**
* Exception that is thrown when there is no on() method for a specific event type on a projection.
*/
export declare class MissingOnMethodForType extends Exception {
/**
* Initialises a new instance of the {@link MissingOnMethodForType} class.
* @param {ProjectionId} projectionId - The projection that is missing the on() method.
* @param {EventType} eventType - The event type that the method is missing for.
*/
constructor(projectionId: ProjectionId, eventType: EventType);
}
//# sourceMappingURL=MissingOnMethodForType.d.ts.map