simple_network_handler 1.1.1
simple_network_handler: ^1.1.1 copied to clipboard
A package for handling network errors with error registry and interceptors. Supports Dio and Supabase.
1.1.1 #
- fix:
SupabaseNetworkHandlernow resolvesAuthExceptions against the auth registry by semanticcode(e.g.email_not_confirmed,invalid_credentials), falling back tostatusCodeand thenmessage. Previously onlystatusCode/messagewere checked, so registries keyed by error codes never matched.
1.1.0 #
- feat: add Supabase API support with
SupabaseNetworkHandlerandSupabaseErrorRegistry - feat: add Supabase-specific failure classes (AuthFailure, PostgrestFailure, StorageFailure, etc.)
- feat: add separate import for Supabase:
import 'package:simple_network_handler/simple_network_handler_supabase.dart' - feat: add example Supabase error registry and repository implementation
1.0.4 #
- feat: change general error to accept types and provide access to the exception itself
- feat: add logging functionality
1.0.3 #
- feat: add handling of custom exceptions
1.0.2 #
- chore: update readme
1.0.1 #
- chore: update readme
- feat: add example app that showcases an advanced use case
1.0.0 #
- feat: initial release of Simple Network Handler