UNPKG

@dolittle/sdk.artifacts

Version:

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

16 lines 894 B
import { Exception } from '@dolittle/rudiments'; import { Constructor } from '@dolittle/types'; /** * The exception that gets thrown when attempting to associate multiple keys with a type in a {@link TypeMap}. */ export declare class CannotHaveMultipleKeysAssociatedWithType extends Exception { /** * Initialises a new instance of the {@link CannotHaveMultipleKeysAssociatedWithType} class. * @param {Constructor} type - The type that was already associated with a key. * @param {any} key - The key that was attempted to associate with. * @param {any} associatedKey - The key that the type was already associated with. * @param {Constructor} keyType - The type of the association key. */ constructor(type: Constructor<any>, key: any, associatedKey: any, keyType: Constructor<any>); } //# sourceMappingURL=CannotHaveMultipleKeysAssociatedWithType.d.ts.map