How to standardize error schema in Apollo grpahql

Hi, We know that in case of error, we have an error object below data object in response and it has certain fields but can we standardize the format that irrespective of error thrown I want to show error object in certain manner only like with certain attributes everytime ?