How should i handle error and response before forwarding it to subscriber in rxjs lastValueFrom with pipe(take(1))

Here is my code –

async getItemById(idParam: string): Promise<any>  {
    return await lastValueFrom<any>(this.http.get('http://localhost:3000/api/item?id=' + idParam).pipe(take(1)))
}

How should i implement ‘catch’ block in this or ‘handle response’ before forwarding it to subscriber?