Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • PostgrestError

Index

Constructors

  • new PostgrestError(context: { code: string; details: string; hint: string; message: string }): PostgrestError
  • Parameters

    • context: { code: string; details: string; hint: string; message: string }
      • code: string
      • details: string
      • hint: string
      • message: string

    Returns PostgrestError

Properties

code: string
details: string
hint: string
message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc