Skip to content

Missing stack in errors #7

@blakeembrey

Description

@blakeembrey

In every node.js version I tested (6, 8, 10) the UnsetVariableError thrown by this module does not have a stack property because the Error prototype is a weird one to extend from. You need to either use ES6 classes or something like https://github.com/JsCommunity/make-error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions