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

x/deno_api_server/src/errors/request.error.ts>RequestError

API Server for deno for functional programmed endpoints
Latest
class RequestError
extends Error
import { RequestError } from "https://deno.land/x/deno_api_server@v0.6.4/src/errors/request.error.ts";

Constructors

new
RequestError(
message: string,
status?: number,
prevent?: Error,
)

Properties

readonly
prevent: Error | undefined
readonly
status: number