SupabaseEitherFactory typedef

SupabaseEitherFactory = Either<Failure, dynamic> Function(Object error, String? message, int? statusCode)

Factory function that creates an Either from a Supabase error

Implementation

typedef SupabaseEitherFactory = Either<Failure, dynamic> Function(
  Object error,
  String? message,
  int? statusCode,
);