Write a method in Freshdesk::Base to return an error object if the response from Freshdesk indicates an error