refactoring - ResponseHandler#respond_with_failure method
returning an error_data structure on failure
using fetch method