Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catchError #6

Open
RobertFischer opened this issue Nov 28, 2020 · 0 comments
Open

catchError #6

RobertFischer opened this issue Nov 28, 2020 · 0 comments
Labels
catch For "catch" and related methods enhancement New feature or request

Comments

@RobertFischer
Copy link
Owner

catchError

Like catch, but ensures that the argument is an Error. (You can throw
anything in JavaScript!)

sketchyCall().catchError((e) =>
        console.warn(`Failed to make sketchyCall: ${e.message}`, e)
);
@RobertFischer RobertFischer added enhancement New feature or request catch For "catch" and related methods labels Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
catch For "catch" and related methods enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant