Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FunctionsHttpError

import { FunctionsHttpError } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";

Error thrown when the Edge Function returns a non-2xx status code.

@example
import { FunctionsHttpError } from '@supabase/functions-js'

throw new FunctionsHttpError({ status: 500 })
class FunctionsHttpError extends FunctionsError {
constructor(context: any);
}

§Extends

§
FunctionsError
[src]

§Constructors

§
new FunctionsHttpError(context: any)
[src]