added show/set error methods to FlashService