Skip to main content
Module

x/udibo_react_app/mod.tsx>HttpErrorOptions

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
Go to Latest
interface HttpErrorOptions
implements ErrorOptions
Re-export
import { type HttpErrorOptions } from "https://deno.land/x/udibo_react_app@0.8.0/mod.tsx";

Options for initializing an HttpError.

Index Signatures

[key: string]: unknown

Properties

optional
name: string

The name of the error. Default based on error status.

optional
message: string
optional
status: number

The HTTP status associated with the error. Defaults to 500.

optional
expose: boolean

Determines if the error should be exposed in the response. Defaults to true for client error statuses and false for server error statuses.