Skip to content

Differentiate between 401 and 402 status codes #80

@walro

Description

@walro

Currently we do not differentiate between 401 and 402 errors:

when /^401/, /^402/
AuthError

Raising AuthError for 401 class of errors is fine, but for 402 we should probably raise something like LanguageSelectionError, see: https://developer.twingly.com/resources/search/#4xx-client-errors

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions