/**
 * Cloud Provider Not Connected Error
 *
 * Thrown by cloud deployment providers when no auth token is stored for the
 * provider or the stored token fails validation.
 */
export class CloudProviderNotConnectedError extends Error {
    provider;
    code = 'CLOUD_PROVIDER_NOT_CONNECTED';
    constructor(provider) {
        super(`Cloud deployment provider ${provider} is not connected — no token stored`);
        this.provider = provider;
        this.name = 'CloudProviderNotConnectedError';
        Object.setPrototypeOf(this, new.target.prototype);
    }
}
