var e=class extends Error{constructor(e,t){let n=t.length>0?t.join(`, `):`none`;super(`Shortcut "${e}" not found.\n\nAvailable shortcuts: ${n}\n\nUse "xling sx --list" to see all shortcuts.`),this.name=`ShortcutNotFoundError`}},t=class extends Error{constructor(e){super(`Circular reference detected: shortcut "${e}" cannot call "sx" command.\n\nThis would create an infinite loop.`),this.name=`CircularShortcutError`}};export{e as n,t};