Something went wrong. Try again.
javascript for 🐜's, a tiny runtime with big ambitions antjs.org
Something went wrong. Try again.
12345678910111213export class HttpError extends Error { constructor( message: string, readonly status: number, ) { super(message); }}
export function isNotFound(error: unknown): boolean { return error instanceof HttpError && error.status === 404;}