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

FunctionsError

Base error for Supabase Edge Function invocations.

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

throw new FunctionsError('Unexpected error invoking function', 'FunctionsError', {
  requestId: 'abc123',
})
class FunctionsError extends Error {
constructor(
message: string,
name?: string,
context?: any,
);
context: any;
}

§Extends

§
Error
[src]

§Constructors

§
new FunctionsError(message: string, name?: string, context?: any)
[src]

§Properties

§
context: any
[src]