• Fetches detailed user information by their unique ID.

    Parameters

    • userID: string

      The user's unique identifier.

    Returns Promise<{ error?: string; user?: User }>

    An object containing the user data or an error message.