Skip to content

How to catch abort errors in JavaScript? #1348

@holdenmatt

Description

@holdenmatt

Support Question

How can I catch a Perspective error from JavaScript?

For example, if I pass a bad config to table.view(config) I see an uncaught error like this:
image

But wrapping the offending call in a try/catch has no effect.

I didn't find anything about error handling in the documentation. This looks like what I want, but seems to only apply to Python/C++, not JavaScript:
#777

What do you suggest? Thanks!

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