simple_network_handler_supabase 2.0.1 copy "simple_network_handler_supabase: ^2.0.1" to clipboard
simple_network_handler_supabase: ^2.0.1 copied to clipboard

Supabase error handling for simple_network_handler - map AuthException, PostgrestException, StorageException and FunctionException to typed failures.

2.0.1 #

  • perf: registry declarations are read once per SupabaseHandler instead of on every error — implementations return map literals, so each lookup previously rebuilt the whole map and every closure in it. Declare registry getters as literals; they are now cached.

2.0.0 #

  • Initial release, extracted from simple_network_handler 1.x (simple_network_handler_supabase.dart library): SupabaseHandler / SupabaseNetworkHandler, SupabaseErrorRegistry with auth/postgrest/storage/function registries, transport classification, and the built-in Supabase failures.
  • Migrated to the v2 API: sealed Result<T>, factories returning Failure directly, instance-based handler, LocalizedFailure mixin.
0
likes
150
points
18
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Supabase error handling for simple_network_handler - map AuthException, PostgrestException, StorageException and FunctionException to typed failures.

Repository (GitHub)
View/report issues

Topics

#network #error-handling #supabase

License

MIT (license)

Dependencies

flutter, http, simple_network_handler_core, supabase_flutter

More

Packages that depend on simple_network_handler_supabase