S-48823 Use displayError func for .error for get/post