var e=class extends Error{constructor(e){super(e),this.name=`XlingError`}},t=class extends e{constructor(e){super(`Unsupported tool: ${e}`),this.name=`UnsupportedToolError`}},n=class extends e{constructor(e){super(`Invalid scope: ${e}`),this.name=`InvalidScopeError`}},r=class extends e{constructor(e){super(`Config file not found: ${e}`),this.name=`ConfigFileNotFoundError`}},i=class extends e{constructor(e,t){super(`Failed to parse config file ${e}: ${t}`),this.name=`ConfigParseError`}},a=class extends e{constructor(e){super(`Profile not found: ${e}`),this.name=`ProfileNotFoundError`}},o=class extends e{constructor(e){super(`Settings variant not found: ${e}`),this.name=`SettingsVariantNotFoundError`}},s=class extends e{constructor(e,t){super(`Failed to write file ${e}: ${t}`),this.name=`FileWriteError`}},c=class extends e{constructor(e,t){super(`Failed to launch editor ${e}: ${t}`),this.name=`EditorLaunchError`}},l=class extends e{constructor(e,t){super(`Executable '${e}' not found in PATH.${t?` ${t}`:``}`),this.name=`ExecutableNotFoundError`}},u=class extends e{constructor(e){super(`Not a git repository (or any parent): ${e}`),this.name=`GitRepositoryError`}},d=class extends e{constructor(e,t){super(`Git command failed: ${e}\n${t}`),this.name=`GitCommandError`}};export{s as a,n as c,t as d,e as f,l as i,a as l,i as n,d as o,c as r,u as s,r as t,o as u};