Skip to content

Parsing failure should throw Error (possibly subclass) rather than a String #31

@epoberezkin

Description

@epoberezkin
try {
  edn.parse("{:a 5");
} catch(e) {
  console.log('Error:', e); // e is a String here, should be an instance of Error (or of a subclass) 
}

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