Skip to content

api errors 4xx and 5xx should be distinguished #25

@thomas-riccardi

Description

@thomas-riccardi

Currently all API errors (4xx and 5xx) are exposed identically: BadStatus

if response.status_code < 200 or response.status_code >= 300:
raise BadStatus(response)

We should at least distinguish between 4xx and 5xx. Later we could do some retry on 5xx, cf #17

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