MCPcopy Create free account
hub / github.com/Kong/insomnia / cannotAccessPathError

Function cannotAccessPathError

packages/insomnia/src/common/misc.ts:157–161  ·  view source on GitHub ↗
(accessingPath: string)

Source from the content-addressed store, hash-verified

155export const SECURITY_SETTINGS_PATH_LABEL = 'Insomnia Preferences → General → Security';
156
157export function cannotAccessPathError(accessingPath: string): string {
158 return __IS_RENDERER__
159 ? `Insomnia cannot access the file "${accessingPath}". You must specify which directories Insomnia can access in ${SECURITY_SETTINGS_PATH_LABEL}`
160 : `Insomnia cannot access the file ‘${accessingPath}’. You must specify which directories Insomnia can access with one or more "--dataFolders <directory>".`;
161}
162
163export type DefaultBrowserRedirectParam =
164 | {

Callers 3

curlRequestFunction · 0.90
registerMainHandlersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected