@dolittle/sdk.tenancy
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
20 lines • 1.24 kB
JavaScript
;
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.FailedToGetAllTenants = void 0;
const rudiments_1 = require("@dolittle/rudiments");
/**
* Exception that gets thrown when getting all tenants fails.
*/
class FailedToGetAllTenants extends rudiments_1.Exception {
/**
* Initializes a new instance of the {@link FailedToGetAllTenants} class.
* @param {string} failureReason - The reason for the failure.
*/
constructor(failureReason) {
super(`Failed to get all tenants because ${failureReason}`);
}
}
exports.FailedToGetAllTenants = FailedToGetAllTenants;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmFpbGVkVG9HZXRBbGxUZW5hbnRzLmpzIiwic291cmNlUm9vdCI6Ii4uLyIsInNvdXJjZXMiOlsiRmFpbGVkVG9HZXRBbGxUZW5hbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrQ0FBK0M7QUFDL0MscUdBQXFHOzs7QUFFckcsbURBQWdEO0FBRWhEOztHQUVHO0FBQ0gsTUFBYSxxQkFBc0IsU0FBUSxxQkFBUztJQUVoRDs7O09BR0c7SUFDSCxZQUFZLGFBQXFCO1FBQzdCLEtBQUssQ0FBQyxxQ0FBcUMsYUFBYSxFQUFFLENBQUMsQ0FBQztJQUNoRSxDQUFDO0NBQ0o7QUFURCxzREFTQyJ9