Skip to content

Improve error messages for common auth failures #38

Description

@George-iam

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions