Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/runtime/errors.ts>status

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable status
import { status } from "https://deno.land/x/live@1.102.1/runtime/errors.ts";

Returns a response with given status and formatted error message if provided.

type

(status: number) => ResponseErrorBuilder