Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Some TwitterErrors more verbose than others #210

Open
@bmurauer

Description

@bmurauer

When i try to fetch a timeline of a user that has marked the timeline private, i get a TwitterError with no status code, just a message String "Not authorized.". It is a bit tedious to match for this, as it it directly forwarded by the API from twitter. I wonder why other errors have status codes in them, making it easier to match them.
Also, for this special case, Twitter has defined an error code:
179 - Sorry, you are not authorized to see this status
Is this something that is in the scope of this library to change or does Twitter just send no status code?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions