initial commit

This commit is contained in:
Hunter
2026-11-01 13:23:44 -05:00
commit e03ea4f770
53 changed files with 10802 additions and 0 deletions

10
lib/errors.ts Normal file
View File

@@ -0,0 +1,10 @@
/** An error that maps directly onto an HTTP response (see lib/http.ts). */
export class HttpError extends Error {
constructor(
public status: number,
message: string,
public details?: unknown
) {
super(message);
}
}