@dolittle/sdk.resources
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
16 lines • 771 B
TypeScript
import { Exception } from '@dolittle/rudiments';
import { TenantId } from '@dolittle/sdk.execution';
import { ResourceName } from './ResourceName';
/**
* Exception that gets thrown when getting a resource for a tenant failed.
*/
export declare class FailedToGetResourceForTenant extends Exception {
/**
* Initializes a new instance of the {@link FailedToGetResourceForTenant} class.
* @param {ResourceName} resource - The resource name that was attempted to get.
* @param {TenantId} tenant - The tenant that the resource was attempted to get for.
* @param {string} reason - The reason for the failure.
*/
constructor(resource: ResourceName, tenant: TenantId, reason: string);
}
//# sourceMappingURL=FailedToGetResourceForTenant.d.ts.map