Skip to content

get_article shouldn't raise RuntimeError #38

@rgaudin

Description

@rgaudin

Currently, ReadArticle.get_article() raises a RuntimeError should the URL be incorrect. I believe we should either:

  • Add an .has_article(url) methods that returns a boolean informing about the existence of the article
  • Raise a custom, usable Exception like ArticleNotFound or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions