master
handle_error
def self.handle_error(http_status, response) case http_status when 400 case response['error'] when 'cannot_delete_primary_card'