Skip to content

Update README regarding Targetted Catch blocks. #45

Description

@jeremy-j-ackso

The README says:

Everything applies to request-promise-native except the following:

  • Instead of using Bluebird promises this library uses native ES6 promises.
  • Mind that native ES6 promises have fewer features than Bluebird promises do. In particular, the .finally(...) method is not available.

And for somebody unfamiliar with Bluebird promises, it is not immediately obvious that native Promises do not support targeted catch blocks. Somebody (like me) might just think it's a little-known feature of Promises and end up banging their head on things until they eventually find this:
#15 (comment)

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