@dolittle/sdk.aggregates
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
17 lines (14 loc) • 577 B
text/typescript
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import { Exception } from '@dolittle/rudiments';
/**
* The exception that gets thrown when a event types is not set and is expected.
*/
export class EventTypesNotSet extends Exception {
/**
* Initialises a new instance of the {@link EventTypesNotSet} class.
*/
constructor() {
super('Event types is not set on the Aggregate Root. Aggregate Roots must be constructed through the Client.');
}
}