Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
class HttpError
extends Error
import { HttpError } from "https://deno.land/x/flagship_io_js_sdk@3.3.1/utils/HttpError.ts";

Constructors

new
HttpError(
statusCode: number,
message: string,
headers?: Record<string, unknown>,
)

Properties

private
optional
_headers: Record<string, unknown>
private
_statusCode: number
readonly
headers: Record<string, unknown> | undefined
readonly
statusCode: number