Skip to content

PMHTTPStatusCodeErrorKey should be used for unauthorized and unexpectedNoContent #59

Closed
@lilyball

Description

@lilyball

The unauthorized and unexpectedNoContent errors each correspond to a specific status code. We should provide that status code in the bridged Obj-C error using PMHTTPStatusCodeErrorKey so that way Obj-C code can just test for that userInfo property directly to get the status code for any error that's related to status codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions