Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class HTTPError
extends Error
import { HTTPError } from "https://deno.land/x/revoltio_rest@v1.1.3/src/errors/HTTPError.ts";

Constructors

new
HTTPError(response: Response, request: APIRequest)

Properties

body: APIRequest["body"]
method: string
status: number