Skip to content

Functions throw and not return Exceptions #4

@panvid

Description

@panvid

The library functions, like get, has the information, that they return array or an Exception. Exceptions are not returned but thrown.

It would be nice if the PhpDoc says

@throws \GuzzleHttp\Exception\BadResponseException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions