MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / get_error_class_name

Function get_error_class_name

src/runtime.rs:19–21  ·  view source on GitHub ↗
(e: &AnyError)

Source from the content-addressed store, hash-verified

17use crate::extra;
18
19fn get_error_class_name(e: &AnyError) -> &'static str {
20 deno_runtime::errors::get_error_class_name(e).unwrap_or("Error")
21}
22
23pub async fn start() -> Result<(), AnyError> {
24 let module_loader = Rc::new(FsModuleLoader);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected