@dolittle/sdk.artifacts
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
16 lines • 918 B
TypeScript
import { Exception } from '@dolittle/rudiments';
import { Constructor } from '@dolittle/types';
/**
* The exception that gets thrown when attempting to associate multiple types with a key in a {@link TypeMap}.
*/
export declare class CannotHaveMultipleTypesAssociatedWithKey extends Exception {
/**
* Initialises a new instance of the {@link CannotHaveMultipleTypesAssociatedWithKey} class.
* @param {any} key - The key that was already associated with a type.
* @param {Constructor} type - The type that was attempted to associate with.
* @param {Constructor} associatedType - The type that the key was already associated with.
* @param {Constructor} keyType - The type of the association key.
*/
constructor(key: any, type: Constructor<any>, associatedType: Constructor<any>, keyType: Constructor<any>);
}
//# sourceMappingURL=CannotHaveMultipleTypesAssociatedWithKey.d.ts.map