@dolittle/sdk.tenancy
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
19 lines (15 loc) • 606 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';
/**
* Exception that gets thrown when getting all tenants fails.
*/
export class FailedToGetAllTenants extends Exception {
/**
* Initializes a new instance of the {@link FailedToGetAllTenants} class.
* @param {string} failureReason - The reason for the failure.
*/
constructor(failureReason: string) {
super(`Failed to get all tenants because ${failureReason}`);
}
}