Skip to content

Docs for isError() #16

@stephen-last

Description

@stephen-last

There is an exported method called isError(): https://github.com/bodenr/errors/blob/master/lib/errors.js#L112

This should be added to the docs as it's very useful for differentiating between errors created by this module and other errors.

See http://stackoverflow.com/questions/37070083/error-objects-native-and-custom-how-to-tell-the-difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions