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

x/aleph/framework/core/fetch_error.ts>default

The Full-stack Framework in Deno.
Go to Latest
class default
extends Error
import { default } from "https://deno.land/x/aleph@1.0.0-alpha.54/framework/core/fetch_error.ts";

Constructors

new
default(
status: number,
message: string,
details?: Record<string, unknown>,
opts?: ErrorOptions,
)

Properties

details: Record<string, unknown>
status: number

Static Methods

fromResponse(res: Response): Promise<FetchError>