Skip to content

Exception Handling Question #52

@du8die

Description

@du8die

Hello,

I realize this project is essentially dead (shame, but I get it). So far, it's a game changer for me - so I'm looking forward to seeing all the possibilities.

One issue I'm having right now. If I have a JSON object, and I'm expecting that object to have a property, say "foo", all is well. get(v,'foo') returns the value just fine. However, if the property is missing, an exception is thrown. No problem.

However, I haven't seen in your documentation any way to handle exceptions.

So - how do I handle this error (because in this case, it's expected that some elements may not be available).

Thanks!

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