denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
155 stars 46 forks source link

Return structured error from `deno_ast::ParsedSource::transpile` #118

Closed lucacasonato closed 7 months ago

lucacasonato commented 2 years ago

Currently returns an anyhow::Error. Should really be returning a proper structured enum based error (for ease of use thiserror can be used to build this error struct).