Skip to content

ImagineInterface::open() method does not document all possible exceptions thrown #869

@georaldc

Description

@georaldc

I noticed that all ImagineInterface implementations create an instance of the Loader class if say, a string was passed in as a path to the open method, but the Loader constructor can throw different unexpected exceptions from the open method's point of view (Imagine\Exception\NotFoundException or Imagine\Exception\RuntimeException). Shouldn't ImagineInterface document these as possible thrown exceptions then, instead of just Imagine\Exception\RuntimeException?

Metadata

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