Function deno_core::error::generic_error

source ยท
pub fn generic_error(message: impl Into<Cow<'static, str>>) -> Error