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

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