Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/observablehq/framework
/ error-test.ts
File
error-test.ts
test/error-test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
"node:assert"
;
2
import
{HttpError, isEnoent, isHttpError, isSystemError} from
"../src/error.js"
;
3
4
describe(
"new HttpError(message, status, options?)"
, () => {
Callers
nothing calls this directly
Calls
3
isHttpError
Function · 0.85
isSystemError
Function · 0.85
isEnoent
Function · 0.85
Tested by
no test coverage detected