Skip to content

Usecases #20

@mariusGundersen

Description

@mariusGundersen

This issue is created for discussion

What are the usecases for this proposal? I think what we want to add is a machine readable stack trace (in addition to the human readable stack trace we have today, which is just a string). So, in what scenarios will a machine read this stack trace? I think this is important to discuss so we can design it based on some actual usecases, and so that we can know that it solves the problems people have.

To get started I can think of a few scenarios that we can consider. I'm not saying we must support these, but it's good to have discussion we can point to when we decide not to support these use cases.

  • Browser/server devtools can have a standardized hook for getting stack trace
  • Logging errors back to server in production
  • REPL/editor (jsbin, babel, etc) presenting syntax/early/runtime errors
  • Non-production libraries can catch error and present better help to devs

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