Skip to content

URLError doesnt have code attribute #246

Open
@francoisgfx

Description

I dont believe URLError have a code attribue. HTTPError does though. HTTPError inherit from URLError. So I have doubt this case can happen here :
https://github.com/shotgunsoftware/python-api/blob/master/shotgun_api3/shotgun.py#L2668

https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions