Ferrari's Charles Leclerc was left frustrated after failing to qualify for Q2 in Barcelona, finishing 19th at the Circuit de Catalunya.