Skip to content

Hard to subclass with ES6 class syntax #10

Description

@mathew-kurian

I not 100% sure I don't think this class meets the class es6 specifications because you are overriding the stack attribute which makes it hard to extend and modify the stack property via class inheritance offered in ES6. I had recently made a library https://github.com/bluejamesbond/TraceError.js. If you think, this offers a potential benefits, I would happy to provide a pull request into your library.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions