google / google/promises

Ignore a certain Error and terminate Promise

Open
#201 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
3.8k
Forks
316
PR merge metrics
No merged PRs in 30d

Description

Is there any way to completely ignore an Error? For example, when I reject a Promise with something like `PromiseCancelledError`, I don't want the downstream `catch`es to handle this error. I want the Promise to be terminated and produce no output at all. Both `catch` and `recover` are not working for this case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.