Skip to main content
Latest
class HttpError
extends Error
import { HttpError } from "https://deno.land/x/flagship_io_js_sdk@3.3.2/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