error handler in real time services