Trait IntoJs
nj_core
pub trait IntoJs { fn to_js(self, js_env: &JsEnv) -> napi_value; }
convert to js including error
fn to_js(self, js_env: &JsEnv) -> napi_value
impl IntoJs for Result<napi_value, NjError>
impl IntoJs for NjError