mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
return errors from rewriter, clean up code, update oxc
This commit is contained in:
parent
e1a71bef1d
commit
66929af43c
7 changed files with 218 additions and 192 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue