Exceptions¶
SupabaseORMError
¶
Bases: Exception
Base class for every exception raised by supabase_orm.
SupabaseORMDoesNotExist
¶
Bases: SupabaseORMError
A query that expected at least one row matched zero rows.
SupabaseORMMultipleObjectsReturned
¶
Bases: SupabaseORMError
A query that expected exactly one row matched more than one.
SupabaseORMUsageError
¶
Bases: SupabaseORMError
The orm was used in an unsupported way.
Covers both setup-time issues (client not initialized, model declared
without a table) and runtime misuse (unfiltered bulk delete/update,
cross-table as_(), primary-key change via instance.update(),
empty argument lists, etc.).