refactor(ui): refine error messages formatting