Trait NapiErrorToRspackErrorExt

Source
pub trait NapiErrorToRspackErrorExt {
    // Required method
    fn to_rspack_error(self, env: &Env) -> Error;
}

Required Methods§

Source

fn to_rspack_error(self, env: &Env) -> Error

Implementations on Foreign Types§

Source§

impl NapiErrorToRspackErrorExt for Error

Source§

fn to_rspack_error(self, env: &Env) -> Error

Implementors§