Added error codes to the notifier interface rather than a pure pass/fail return