#[non_exhaustive]
#[derive(thiserror::Error, Clone, Debug)]
pub enum Error {
#[error("failed to initialize js environment (detail: {0})")]
JsInitError(String),
#[error("failed to execute js (detail: {0})")]
JsExecError(String),
#[error("failed to convert js value (detail: {0})")]
JsValueError(String),
}
pub type Result<T, E = Error> = core::result::Result<T, E>;