{"version":"1.0.27","anchor":"error-handling-examples","canonical_anchor":"error-handling-examples","heading":"Error Handling Examples","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.27\/e\/error-handling-examples","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.27","markdown":"### Error Handling Examples\n\n`# Missing path\nclaude --add-dir\n# Output: Please provide a directory path.\n\n# Non-existent path\nclaude --add-dir \/fake\/path\n# Output: Path \/fake\/path was not found.\n\n# File instead of directory\nclaude --add-dir \/etc\/passwd\n# Output: \/etc\/passwd is not a directory. Did you mean to add the parent directory \/etc?\n\n# Already accessible directory\nclaude --add-dir \/home\/user\/project\/src  # (when \/home\/user\/project is already added)\n# Output: \/home\/user\/project\/src is already accessible within the existing working directory \/home\/user\/project.`"}