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

x/deco/mod.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/deco@1.75.1/mod.ts";

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

type

(status: number) => unknown