1/* 2 * errors.ts 3 * 4 * Copyright (C) 2020-2024 Posit Software, PBC 5 */ 6 7export const throwUnableToPublish = (reason: string, provider: string) => { 8 throw new Error( 9 `Unable to publish to ${provider} (${reason})`, 10 ); 11}; 12 13