RequestResult
import type { RequestResult } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";a shared result type that encapsulates errors instead of throwing them, allows you to optionally specify the ErrorType
type RequestResult<T, ErrorType extends Error = AuthError> = {
data: T;
error: null;
} | {data: null;
};