Skip to main content

@rtorcato/supabase-common / SupabaseError

Class: SupabaseError

Defined in: unwrap.ts:25

Error thrown by unwrap when the Supabase result carries an error.

Extends​

  • Error

Constructors​

Constructor​

new SupabaseError(error): SupabaseError

Defined in: unwrap.ts:28

Parameters​

error​

PostgrestErrorLike

Returns​

SupabaseError

Overrides​

Error.constructor

Properties​

code?​

readonly optional code?: string

Defined in: unwrap.ts:26


details?​

readonly optional details?: string

Defined in: unwrap.ts:27