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

x/http_graphql_playground/deps.ts>createHttpError

HTTP request for graphql-playground with standard Request and Response
Latest
function createHttpError
import { createHttpError } from "https://deno.land/x/http_graphql_playground@1.0.0-beta.1/deps.ts";

Create an instance of an HttpError based on the status code provided.

Parameters

optional
status: ErrorStatus = [UNSUPPORTED]
optional
message: string
optional
options: HttpErrorOptions