MCPcopy 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

1import assert from "node:assert";
2import {HttpError, isEnoent, isHttpError, isSystemError} from "../src/error.js";
3
4describe("new HttpError(message, status, options?)", () => {

Callers

nothing calls this directly

Calls 3

isHttpErrorFunction · 0.85
isSystemErrorFunction · 0.85
isEnoentFunction · 0.85

Tested by

no test coverage detected