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