renamend notifier to errorHandler