return errors from rewriter, clean up code, update oxc

This commit is contained in:
Toshit Chawda 2024-10-21 22:27:55 -07:00
parent e1a71bef1d
commit 66929af43c
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
7 changed files with 218 additions and 192 deletions

View file

@ -9,6 +9,8 @@ pub enum RewriterError {
Url(#[from] url::ParseError),
#[error("str fromutf8 error: {0}")]
Str(#[from] std::str::Utf8Error),
#[error("reflect set failed: {0}")]
ReflectSetFail(String),
#[error("{0} was not {1}")]
Not(String, &'static str),