FunctionsHttpError

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]