When auth fails (wrong API key, expired token), the SDK returns raw HTTP error details. Users would benefit from clearer error messages.
What needs to happen:
- Catch 401/403 responses and raise typed exceptions (
AuthenticationError, AuthorizationError)
- Include actionable messages: "API key invalid — check AXME_API_KEY or run axme login"
- Add tests
Small, focused improvement.
When auth fails (wrong API key, expired token), the SDK returns raw HTTP error details. Users would benefit from clearer error messages.
What needs to happen:
AuthenticationError,AuthorizationError)Small, focused improvement.