Rename function + split up deferred actions(complete + error), as suggested by @soerenr
Added severity to rejected deferred object, as suggested by @soerenr