Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PicoCreator/smol-dev-js
/ isJavascriptError
Function
isJavascriptError
src/cli/OutputHandler.js:30–32 ·
view source on GitHub ↗
(mainError)
Source
from the content-addressed store, hash-verified
28
}
29
30
function
isJavascriptError(mainError) {
31
return
mainError && mainError.stack && mainError.message;
32
}
33
34
/**
35
* Ensure a string output, and
if
the input is a
function
, execute it expecting a string output
Callers
1
fatalError
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected