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

x/deno_nest/modules/elasticsearch/mod.ts>FetchError

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class FetchError
extends Error
Re-export
import { FetchError } from "https://deno.land/x/deno_nest@v3.3.1/modules/elasticsearch/mod.ts";

Constructors

new
FetchError(
message: string | Error | undefined,
type: FetchErrorType,
status?: number,
)

Properties

cause: any
name: string
optional
originError: Error
optional
status: number
type: FetchErrorType