Skip to content

catchError #6

Description

@RobertFischer

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)
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    catchFor "catch" and related methodsenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions