PhilflowIO/tsdav

Improve error messages and troubleshooting

Open

#17 创建于 2025年10月28日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (0 fork)auto 404
documentationenhancementgood first issuephase-2

仓库指标

Star
 (0 star)
PR 合并指标
 (PR 指标待抓取)

描述

Make error messages more helpful and actionable.

Requirements:

  • Detailed error codes with links to documentation
  • Suggest fixes for common errors
  • Export detailed error log (JSON format)
  • Integration with --debug flag

Example:

Error: Authentication failed (HTTP 401)
Possible causes:
  1. Invalid credentials
  2. OAuth token expired
  3. Insufficient permissions

Troubleshooting steps:
  - Verify credentials in .env file
  - Regenerate OAuth refresh token
  - Check API permissions in Google Cloud Console

For more help: https://docs.example.com/errors/AUTH_401

Estimated Effort: Small (2 days)

Related to: DAV Migration CLI - Phase 2

贡献者指南