property HttpStatusHint.status

The HTTP status to answer with. Must be an integer in 400599; a hint outside that range is treated as ABSENT and the error takes the ordinary masked-500 path, because a hint says how an ERROR should be answered and a status the platform cannot serve would make the error handler itself throw.

Type

number

Usage

import { type HttpStatusHint } from "common/src/index.ts";