Added error case action.