Minor Updates

Notification module增加error和warning (sendError, sendWarning)